Skip the command#Run test for fixers on Windows
This commit is contained in:
parent
38009b8e58
commit
37a1d24a36
@ -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):
|
||||||
|
if has('win32')
|
||||||
|
" Just skip this test on Windows, we can't run it.
|
||||||
|
call setline(1, ['a', 'b', 'c', 'd'])
|
||||||
|
else
|
||||||
let g:ale_fixers.testft = ['CatLineDeferred']
|
let g:ale_fixers.testft = ['CatLineDeferred']
|
||||||
ALEFix
|
ALEFix
|
||||||
call ale#test#FlushJobs()
|
call ale#test#FlushJobs()
|
||||||
|
endif
|
||||||
|
|
||||||
Expect(The extra line should be added):
|
Expect(The extra line should be added):
|
||||||
a
|
a
|
||||||
|
Loading…
Reference in New Issue
Block a user