1
0
forked from aniani/vim

patch 8.2.0522: several errors are not tested for

Problem:    Several errors are not tested for.
Solution:   Add tests. (Yegappan Lakshmanan, closes #5892)
This commit is contained in:
Bram Moolenaar
2020-04-06 21:35:05 +02:00
parent 15352dc6ec
commit ee4e0c1e9a
21 changed files with 243 additions and 41 deletions

View File

@@ -259,7 +259,6 @@ def Test_cmd_modifier()
call CheckDefFailure(['5tab echo 3'], 'E16:')
enddef
def Test_try_catch()
let l = []
try
@@ -959,7 +958,6 @@ def Test_interrupt_loop()
assert_true(caught, 'should have caught an exception')
enddef
" Keep this last, it messes up highlighting.
def Test_substitute_cmd()
new