summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden <holden@axoni.com>2018-12-28 12:51:01 -0500
committerHolden <holden@axoni.com>2018-12-28 12:51:01 -0500
commit8550fa605958bff90d727cde949ae2b06b870f8f (patch)
tree5eba45dc92b255586abd84f5e548c50b511ccd43
parent3ec20a730d1c6485ab28704f930a61c6ba426b27 (diff)
downloadale-8550fa605958bff90d727cde949ae2b06b870f8f.zip
fix tests on windows
-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