1
0
forked from aniani/vim

patch 9.0.1576: users may not know what to do with an internal error

Problem:    Users may not know what to do with an internal error.
Solution:   Add a translated message with instructions.
This commit is contained in:
Bram Moolenaar
2023-05-24 21:02:24 +01:00
parent a8490a4952
commit 097c5370ea
15 changed files with 81 additions and 69 deletions

View File

@@ -6524,8 +6524,8 @@ func Test_type()
endif
call assert_equal(v:t_blob, type(test_null_blob()))
call assert_fails("call type(test_void())", 'E685:')
call assert_fails("call type(test_unknown())", 'E685:')
call assert_fails("call type(test_void())", ['E340:', 'E685:'])
call assert_fails("call type(test_unknown())", ['E340:', 'E685:'])
call assert_equal(0, 0 + v:false)
call assert_equal(1, 0 + v:true)