summaryrefslogtreecommitdiff
path: root/test/test_ale_info.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-10-23 23:09:40 +0100
committerw0rp <devw0rp@gmail.com>2017-10-23 23:09:40 +0100
commitb952dda386e2e9e0ba145ff8e286879498c65756 (patch)
treeffe3309b636405174b386ccc29d7a7f98489ada7 /test/test_ale_info.vader
parent231398dddc59b01bc83f5a333af1ae741d31ed51 (diff)
downloadale-b952dda386e2e9e0ba145ff8e286879498c65756.zip
Get all tests to pass on Windows
Diffstat (limited to 'test/test_ale_info.vader')
-rw-r--r--test/test_ale_info.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_ale_info.vader b/test/test_ale_info.vader
index 8ab5ad54..ceb65af6 100644
--- a/test/test_ale_info.vader
+++ b/test/test_ale_info.vader
@@ -354,7 +354,7 @@ Execute (ALEInfo command history should print command output if logging is on):
Execute (ALEInfo should include executable checks in the history):
call ale#linter#Define('testft', g:testlinter1)
- call ale#engine#IsExecutable(bufnr(''), 'echo')
+ call ale#engine#IsExecutable(bufnr(''), has('win32') ? 'cmd' : 'echo')
call ale#engine#IsExecutable(bufnr(''), 'TheresNoWayThisIsExecutable')
call CheckInfo([
@@ -365,6 +365,6 @@ Execute (ALEInfo should include executable checks in the history):
\ '',
\] + g:globals_lines + g:command_header + [
\ '',
- \ '(executable check - success) echo',
+ \ '(executable check - success) ' . (has('win32') ? 'cmd' : 'echo'),
\ '(executable check - failure) TheresNoWayThisIsExecutable',
\])