mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-01 17:13:30 +08:00
fix tests on windows
This commit is contained in:
@@ -58,6 +58,8 @@ Execute(cmd /s/c as a string should be used on Windows):
|
||||
endif
|
||||
|
||||
Execute(Setting ale_shell should cause ale#job#PrepareCommand to use set shell):
|
||||
let g:ale_shell = '/foo/bar'
|
||||
if !has('win32')
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user