mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 20:54:26 +08:00
Skip the command#Run test for fixers on Windows
This commit is contained in:
@@ -816,9 +816,14 @@ Execute(ALEFix should apply autocmds):
|
|||||||
AssertEqual g:post_success, 1
|
AssertEqual g:post_success, 1
|
||||||
|
|
||||||
Execute(ALEFix should support ale#command#Run):
|
Execute(ALEFix should support ale#command#Run):
|
||||||
let g:ale_fixers.testft = ['CatLineDeferred']
|
if has('win32')
|
||||||
ALEFix
|
" Just skip this test on Windows, we can't run it.
|
||||||
call ale#test#FlushJobs()
|
call setline(1, ['a', 'b', 'c', 'd'])
|
||||||
|
else
|
||||||
|
let g:ale_fixers.testft = ['CatLineDeferred']
|
||||||
|
ALEFix
|
||||||
|
call ale#test#FlushJobs()
|
||||||
|
endif
|
||||||
|
|
||||||
Expect(The extra line should be added):
|
Expect(The extra line should be added):
|
||||||
a
|
a
|
||||||
|
|||||||
Reference in New Issue
Block a user