diff options
author | w0rp <devw0rp@gmail.com> | 2017-05-18 17:26:17 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-05-20 19:02:36 +0100 |
commit | 05bab00c3c9878229e8b3cb8df3dc66a7ad9ee7f (patch) | |
tree | b14e0b90ddeb36537c3baa453011092108dce9c0 /test/test_ale_fix.vader | |
parent | 8ebd15a54dba474ee634e0087bb460ca6e7d8428 (diff) | |
download | ale-05bab00c3c9878229e8b3cb8df3dc66a7ad9ee7f.zip |
Allow strings to be used for selecting a single fix function for g:ale_fixers too
Diffstat (limited to 'test/test_ale_fix.vader')
-rw-r--r-- | test/test_ale_fix.vader | 9 |
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 |