Fix a command wrapper test on Windows
This commit is contained in:
parent
045c92ed65
commit
eddda2f8b5
@ -5,7 +5,7 @@ Before:
|
||||
|
||||
function! TestCommand(expected_part, input) abort
|
||||
let l:expected = has('win32')
|
||||
\ ? 'cmd /c ' . a:expected_part
|
||||
\ ? 'cmd /s/c "' . a:expected_part . '"'
|
||||
\ : split(&shell) + split(&shellcmdflag) + [a:expected_part]
|
||||
|
||||
AssertEqual l:expected, ale#job#PrepareCommand(bufnr(''), a:input)
|
||||
|
Loading…
Reference in New Issue
Block a user