0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 8.2.0401: not enough test coverage for evalvars.c

Problem:    Not enough test coverage for evalvars.c.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5804)
This commit is contained in:
Bram Moolenaar
2020-03-18 19:32:26 +01:00
parent 3cdcb090a6
commit 8dfcce3a78
12 changed files with 274 additions and 12 deletions

View File

@@ -1623,6 +1623,9 @@ func Test_delfunction_force()
endfunc
delfunc! Xtest
delfunc! Xtest
" Try deleting the current function
call assert_fails('delfunc Test_delfunction_force', 'E131:')
endfunc
" Test using bang after user command {{{1