1
0
forked from aniani/vim

patch 8.2.1593: tests do not check the error number properly

Problem:    Tests do not check the error number properly.0
Solution:   Add a colon after the error number. (closes #6869)
This commit is contained in:
Bram Moolenaar
2020-09-04 21:18:46 +02:00
parent 24f7750ffa
commit e2e4075fad
43 changed files with 172 additions and 170 deletions

View File

@@ -341,8 +341,8 @@ func Test_override()
call test_override('char_avail', 1)
eval 1->test_override('redraw')
call test_override('ALL', 0)
call assert_fails("call test_override('xxx', 1)", 'E475')
call assert_fails("call test_override('redraw', 'yes')", 'E474')
call assert_fails("call test_override('xxx', 1)", 'E475:')
call assert_fails("call test_override('redraw', 'yes')", 'E474:')
endfunc
func Test_mouse_position()