summaryrefslogtreecommitdiff
path: root/test/test_ale_fix.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_ale_fix.vader')
-rw-r--r--test/test_ale_fix.vader10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test_ale_fix.vader b/test/test_ale_fix.vader
index 95a37c6b..8ec7896d 100644
--- a/test/test_ale_fix.vader
+++ b/test/test_ale_fix.vader
@@ -98,6 +98,16 @@ Execute(ALEFix should allow jobs and simple functions to be combined):
Expect(The lines from the temporary file should be modified):
$x
+Execute(ALEFix should send lines modified by functions to jobs):
+ let g:ale_fixers.testft = ['AddDollars', 'CatLine']
+ ALEFix
+
+Expect(The lines should first be modified by the function, then the job):
+ $a
+ $b
+ $c
+ d
+
Execute(ALEFix should skip commands when jobs fail to run):
let g:ale_emulate_job_failure = 1
let g:ale_fixers.testft = ['CatLine', 'AddDollars']