summaryrefslogtreecommitdiff
path: root/test/test_ale_fix.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-05-19 09:49:00 +0100
committerw0rp <devw0rp@gmail.com>2017-05-20 19:02:36 +0100
commit4214832ae263086d1aa1f565067d00e9ed1b820e (patch)
tree4378db3624fc4a6e71460fbf1d394107da73b358 /test/test_ale_fix.vader
parent1f4d1800e0040d7d36d1c19e15c5f0e570122273 (diff)
downloadale-4214832ae263086d1aa1f565067d00e9ed1b820e.zip
Remove the code for checking if functions exist. It breaks autoload functions
Diffstat (limited to 'test/test_ale_fix.vader')
-rw-r--r--test/test_ale_fix.vader5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/test_ale_fix.vader b/test/test_ale_fix.vader
index a872f38e..8e61aefe 100644
--- a/test/test_ale_fix.vader
+++ b/test/test_ale_fix.vader
@@ -128,11 +128,6 @@ Expect(The first function should be used):
^b
^c
-Execute(ALEFix should complain for missing functions):
- let g:ale_fixers.testft = ['XXX', 'YYY']
- AssertThrows ALEFix
- AssertEqual 'Vim(echoerr):Invalid fixers used: [''XXX'', ''YYY'']', g:vader_exception
-
Execute(ALEFix should use functions from the registry):
call ale#fix#registry#Add('add_carets', 'AddCarets', [], 'Add some carets')
let g:ale_fixers.testft = ['add_carets']