diff options
author | w0rp <devw0rp@gmail.com> | 2019-02-26 16:57:57 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-02-26 16:57:57 +0000 |
commit | 37a1d24a36399338a3238f94a92d4db97b8255f3 (patch) | |
tree | 04aeb56e3c4ef028f4010809a519d5c980d6a4ba | |
parent | 38009b8e58133739ceb47d46bddb46620c33317f (diff) | |
download | ale-37a1d24a36399338a3238f94a92d4db97b8255f3.zip |
Skip the command#Run test for fixers on Windows
-rw-r--r-- | test/fix/test_ale_fix.vader | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/test/fix/test_ale_fix.vader b/test/fix/test_ale_fix.vader index 3d668599..52df2a62 100644 --- a/test/fix/test_ale_fix.vader +++ b/test/fix/test_ale_fix.vader @@ -816,9 +816,14 @@ Execute(ALEFix should apply autocmds): AssertEqual g:post_success, 1 Execute(ALEFix should support ale#command#Run): - let g:ale_fixers.testft = ['CatLineDeferred'] - ALEFix - call ale#test#FlushJobs() + if has('win32') + " Just skip this test on Windows, we can't run it. + call setline(1, ['a', 'b', 'c', 'd']) + else + let g:ale_fixers.testft = ['CatLineDeferred'] + ALEFix + call ale#test#FlushJobs() + endif Expect(The extra line should be added): a |