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_lint_on_enter_when_file_changed.vader | |
parent | c4579e1809d2ca40f917a4ccd665693ba0a33dcb (diff) | |
download | ale-231398dddc59b01bc83f5a333af1ae741d31ed51.zip |
Get more of the tests to pass on Windows
Diffstat (limited to 'test/test_lint_on_enter_when_file_changed.vader')
-rw-r--r-- | test/test_lint_on_enter_when_file_changed.vader | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/test_lint_on_enter_when_file_changed.vader b/test/test_lint_on_enter_when_file_changed.vader index 4d4f19cc..d2b38e04 100644 --- a/test/test_lint_on_enter_when_file_changed.vader +++ b/test/test_lint_on_enter_when_file_changed.vader @@ -2,9 +2,12 @@ Before: Save &filetype Save g:ale_buffer_info Save g:ale_lint_on_enter + Save g:ale_set_lists_synchronously + let g:buf = bufnr('') let g:ale_lint_on_enter = 1 let g:ale_run_synchronously = 1 + let g:ale_set_lists_synchronously = 1 function! TestCallback(buffer, output) return [{ @@ -17,8 +20,8 @@ Before: call ale#linter#Define('foobar', { \ 'name': 'testlinter', \ 'callback': 'TestCallback', - \ 'executable': 'true', - \ 'command': 'true', + \ 'executable': has('win32') ? 'cmd' : 'true', + \ 'command': has('win32') ? 'echo' : 'true', \}) After: |