summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-01-17 18:11:20 +0000
committerw0rp <devw0rp@gmail.com>2018-01-17 18:11:20 +0000
commiteddda2f8b599a52e92c99795f42c0c4ba8e15f7c (patch)
treea1a399dcb9266eacd0dcfd8eb1b9142321fb345a /test
parent045c92ed655214ef7503c2d592e41eb0ba4bf041 (diff)
downloadale-eddda2f8b599a52e92c99795f42c0c4ba8e15f7c.zip
Fix a command wrapper test on Windows
Diffstat (limited to 'test')
-rw-r--r--test/test_wrap_comand.vader2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_wrap_comand.vader b/test/test_wrap_comand.vader
index 8c1569b1..7ddb06a1 100644
--- a/test/test_wrap_comand.vader
+++ b/test/test_wrap_comand.vader
@@ -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)