comparison src/testdir/test_vimscript.vim @ 19689:da98d2ed8dc5 v8.2.0401

patch 8.2.0401: not enough test coverage for evalvars.c Commit: https://github.com/vim/vim/commit/8dfcce3a78ccb520cc9d09081f998091494c50bf Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 18 19:32:26 2020 +0100 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 https://github.com/vim/vim/issues/5804)
author Bram Moolenaar <Bram@vim.org>
date Wed, 18 Mar 2020 19:45:04 +0100
parents 9a9ca0e622c8
children b3e93a05c3ca
comparison
equal deleted inserted replaced
19688:8d01c76e0bc7 19689:da98d2ed8dc5
1621 func Xtest() 1621 func Xtest()
1622 echo 'nothing' 1622 echo 'nothing'
1623 endfunc 1623 endfunc
1624 delfunc! Xtest 1624 delfunc! Xtest
1625 delfunc! Xtest 1625 delfunc! Xtest
1626
1627 " Try deleting the current function
1628 call assert_fails('delfunc Test_delfunction_force', 'E131:')
1626 endfunc 1629 endfunc
1627 1630
1628 " Test using bang after user command {{{1 1631 " Test using bang after user command {{{1
1629 func Test_user_command_with_bang() 1632 func Test_user_command_with_bang()
1630 command -bang Nieuw let nieuw = 1 1633 command -bang Nieuw let nieuw = 1