1
0
forked from aniani/vim

patch 8.2.0644: insufficient testing for invalid function arguments

Problem:    Insufficient testing for invalid function arguments.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5988)
This commit is contained in:
Bram Moolenaar
2020-04-26 15:59:55 +02:00
parent e297802d6d
commit 99fa721944
18 changed files with 116 additions and 10 deletions

View File

@@ -471,6 +471,7 @@ func Test_setmatches()
endif
eval set->setmatches()
call assert_equal(exp, getmatches())
call assert_fails('let m = setmatches([], [])', 'E957:')
endfunc
func Test_empty_concatenate()