summaryrefslogtreecommitdiff
path: root/test/fix/test_ale_fix.vader
diff options
context:
space:
mode:
authorfenuks <fenuks@protonmail.com>2018-04-18 01:10:51 +0200
committerfenuks <fenuks@protonmail.com>2018-04-18 02:13:24 +0200
commitf16384f323e34d0f555db4364b155bf1a03a5372 (patch)
tree64b26f97af65ff162bd7e540ab256047e26e21fc /test/fix/test_ale_fix.vader
parenta591b191db819f2c78a852936bd9742a831f56cb (diff)
downloadale-f16384f323e34d0f555db4364b155bf1a03a5372.zip
Add tests for ALEFix commandline parameters
Diffstat (limited to 'test/fix/test_ale_fix.vader')
-rw-r--r--test/fix/test_ale_fix.vader9
1 files changed, 9 insertions, 0 deletions
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.