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
|
||||
|
||||
Execute(ALEFix should support ale#command#Run):
|
||||
let g:ale_fixers.testft = ['CatLineDeferred']
|
||||
ALEFix
|
||||
call ale#test#FlushJobs()
|
||||
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']
|
||||
ALEFix
|
||||
call ale#test#FlushJobs()
|
||||
endif
|
||||
|
||||
Expect(The extra line should be added):
|
||||
a
|
||||
|
Loading…
Reference in New Issue
Block a user