From 8550fa605958bff90d727cde949ae2b06b870f8f Mon Sep 17 00:00:00 2001 From: Holden Date: Fri, 28 Dec 2018 12:51:01 -0500 Subject: [PATCH] fix tests on windows --- test/test_prepare_command.vader | 6 ++++-- 1 file 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