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_lint_file_linters.vader | |
parent | cb8a140141d6365f48e66dfaaaa8f9957f0dc832 (diff) | |
download | ale-b6a487ccf9318e449a85bd5b43d7a81b9d17d2be.zip |
Fix some random test issues for Windows
Diffstat (limited to 'test/test_lint_file_linters.vader')
-rw-r--r-- | test/test_lint_file_linters.vader | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test_lint_file_linters.vader b/test/test_lint_file_linters.vader index cb859790..bea8c3f0 100644 --- a/test/test_lint_file_linters.vader +++ b/test/test_lint_file_linters.vader @@ -1,10 +1,12 @@ Before: Save g:ale_run_synchronously + Save g:ale_set_lists_synchronously Save g:ale_buffer_info Save g:ale_linters let g:ale_buffer_info = {} let g:ale_run_synchronously = 1 + let g:ale_set_lists_synchronously = 1 call ale#ResetLintFileMarkers() let g:buffer_result = [ @@ -61,7 +63,7 @@ Before: call ale#linter#Define('foobar', { \ 'name': 'lint_file_linter', \ 'callback': 'LintFileCallback', - \ 'executable': 'echo', + \ 'executable': has('win32') ? 'cmd' : 'echo', \ 'command': 'echo', \ 'lint_file': 1, \}) @@ -69,7 +71,7 @@ Before: call ale#linter#Define('foobar', { \ 'name': 'buffer_linter', \ 'callback': 'BufferCallback', - \ 'executable': 'echo', + \ 'executable': has('win32') ? 'cmd' : 'echo', \ 'command': 'echo', \ 'read_buffer': 0, \}) |