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.vader9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/test_ale_fix.vader b/test/test_ale_fix.vader
index 50e0e065..95a37c6b 100644
--- a/test/test_ale_fix.vader
+++ b/test/test_ale_fix.vader
@@ -107,3 +107,12 @@ Expect(Only the second function should be applied):
$a
$b
$c
+
+Execute(ALEFix should handle strings for selecting a single function):
+ let g:ale_fixers.testft = 'AddCarets'
+ ALEFix
+
+Expect(The first function should be used):
+ ^a
+ ^b
+ ^c