diff options
author | Holden <holden@axoni.com> | 2018-12-28 12:51:01 -0500 |
---|---|---|
committer | Holden <holden@axoni.com> | 2018-12-28 12:51:01 -0500 |
commit | 8550fa605958bff90d727cde949ae2b06b870f8f (patch) | |
tree | 5eba45dc92b255586abd84f5e548c50b511ccd43 /test | |
parent | 3ec20a730d1c6485ab28704f930a61c6ba426b27 (diff) | |
download | ale-8550fa605958bff90d727cde949ae2b06b870f8f.zip |
fix tests on windows
Diffstat (limited to 'test')
-rw-r--r-- | test/test_prepare_command.vader | 6 |
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 |