Fix a command wrapper test on Windows

This commit is contained in:
w0rp 2018-01-17 18:11:20 +00:00
parent 045c92ed65
commit eddda2f8b5

View File

@ -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)