summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test_prepare_command.vader6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test_prepare_command.vader b/test/test_prepare_command.vader
index 2bdfd2cb..660235cc 100644
--- a/test/test_prepare_command.vader
+++ b/test/test_prepare_command.vader
@@ -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