diff options
author | w0rp <devw0rp@gmail.com> | 2017-10-23 01:26:31 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-10-23 01:26:31 +0100 |
commit | 231398dddc59b01bc83f5a333af1ae741d31ed51 (patch) | |
tree | 1e5dab4cca104a01d11c7428e3c802296cb3bf31 /test/test_format_temporary_file_creation.vader | |
parent | c4579e1809d2ca40f917a4ccd665693ba0a33dcb (diff) | |
download | ale-231398dddc59b01bc83f5a333af1ae741d31ed51.zip |
Get more of the tests to pass on Windows
Diffstat (limited to 'test/test_format_temporary_file_creation.vader')
-rw-r--r-- | test/test_format_temporary_file_creation.vader | 4 |
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: |