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