fix tests on windows
This commit is contained in:
parent
3ec20a730d
commit
8550fa6059
@ -58,6 +58,8 @@ Execute(cmd /s/c as a string should be used on Windows):
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
Execute(Setting ale_shell should cause ale#job#PrepareCommand to use set shell):
|
Execute(Setting ale_shell should cause ale#job#PrepareCommand to use set shell):
|
||||||
|
if !has('win32')
|
||||||
let g:ale_shell = '/foo/bar'
|
let g:ale_shell = '/foo/bar'
|
||||||
|
|
||||||
AssertEqual ['/foo/bar', '-c', 'foobar'], ale#job#PrepareCommand(bufnr(''), "foobar")
|
AssertEqual ['/foo/bar', '-c', 'foobar'], ale#job#PrepareCommand(bufnr(''), "foobar")
|
||||||
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user