diff options
author | w0rp <devw0rp@gmail.com> | 2017-09-11 00:47:27 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-09-11 00:47:27 +0100 |
commit | b6a487ccf9318e449a85bd5b43d7a81b9d17d2be (patch) | |
tree | 3fc370f84a5295994d38b54d2eef2468a1a0a9e2 /test/test_prepare_command.vader | |
parent | cb8a140141d6365f48e66dfaaaa8f9957f0dc832 (diff) | |
download | ale-b6a487ccf9318e449a85bd5b43d7a81b9d17d2be.zip |
Fix some random test issues for Windows
Diffstat (limited to 'test/test_prepare_command.vader')
-rw-r--r-- | test/test_prepare_command.vader | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_prepare_command.vader b/test/test_prepare_command.vader index 5707be72..ebb9998d 100644 --- a/test/test_prepare_command.vader +++ b/test/test_prepare_command.vader @@ -9,6 +9,7 @@ After: Execute(sh should be used when the shell is fish): " Set something else, so we will replace that too. let &shellcmdflag = '-f' + let g:ale_has_override = {'win32': 0} let &shell = 'fish' @@ -25,13 +26,13 @@ Execute(sh should be used when the shell is fish): Execute(Other shells should be used when set): let &shell = '/bin/bash' let &shellcmdflag = '-c' + let g:ale_has_override = {'win32': 0} AssertEqual ['/bin/bash', '-c', 'foobar'], ale#job#PrepareCommand('foobar') Execute(cmd /c as a string should be used on Windows): let &shell = 'who cares' let &shellcmdflag = 'whatever' - let g:ale_has_override = {'win32': 1} AssertEqual 'cmd /c foobar', ale#job#PrepareCommand('foobar') |