From 37a1d24a36399338a3238f94a92d4db97b8255f3 Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 26 Feb 2019 16:57:57 +0000 Subject: Skip the command#Run test for fixers on Windows --- test/fix/test_ale_fix.vader | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'test/fix') 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 -- cgit v1.2.3