1
0
forked from aniani/vim

patch 8.2.3907: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move error messages to errors.h.  Avoid duplicates.
This commit is contained in:
Bram Moolenaar
2021-12-26 20:20:34 +00:00
parent 1f318c6eac
commit c553a21e18
6 changed files with 61 additions and 30 deletions

View File

@@ -428,7 +428,7 @@ endfunc
" Test for deleting a function
func Test_del_func()
call assert_fails('delfunction Xabc', 'E130:')
call assert_fails('delfunction Xabc', 'E117:')
let d = {'a' : 10}
call assert_fails('delfunc d.a', 'E718:')
func d.fn()