From f16384f323e34d0f555db4364b155bf1a03a5372 Mon Sep 17 00:00:00 2001 From: fenuks Date: Wed, 18 Apr 2018 01:10:51 +0200 Subject: Add tests for ALEFix commandline parameters --- test/fix/test_ale_fix.vader | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/fix/test_ale_fix.vader') diff --git a/test/fix/test_ale_fix.vader b/test/fix/test_ale_fix.vader index 0321cbae..3bd23672 100644 --- a/test/fix/test_ale_fix.vader +++ b/test/fix/test_ale_fix.vader @@ -272,6 +272,15 @@ Expect(An extra line should be added): c d +Execute(ALEFix should use fixers passed in commandline when provided): + let g:ale_fixers.testft = ['RemoveLastLine'] + ALEFix AddCarets AddDollars + +Expect(Only fixers passed via command line should be run): + $^a + $^b + $^c + Execute(ALEFix should allow temporary files to be read): if has('win32') " Just skip this test on Windows, we can't run it. -- cgit v1.2.3