summaryrefslogtreecommitdiff
path: root/test/test_format_temporary_file_creation.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_format_temporary_file_creation.vader')
-rw-r--r--test/test_format_temporary_file_creation.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_format_temporary_file_creation.vader b/test/test_format_temporary_file_creation.vader
index 0639c593..1afaba30 100644
--- a/test/test_format_temporary_file_creation.vader
+++ b/test/test_format_temporary_file_creation.vader
@@ -10,8 +10,8 @@ Before:
call ale#linter#Define('foobar', {
\ 'name': 'testlinter',
\ 'callback': 'TestCallback',
- \ 'executable': 'cat',
- \ 'command': 'cat %t',
+ \ 'executable': has('win32') ? 'cmd' : 'cat',
+ \ 'command': has('win32') ? 'type %t' : 'cat %t',
\})
After: