Mercurial > vim
diff src/testdir/test_vimscript.vim @ 32489:d6055989fa27 v9.0.1576
patch 9.0.1576: users may not know what to do with an internal error
Commit: https://github.com/vim/vim/commit/097c5370ea8abab17ceb0f3bcd74f57b1655c7f7
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 24 21:02:24 2023 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 May 2023 22:15:06 +0200 |
parents | a207f55deb62 |
children | f35ea6c38a20 |
line wrap: on
line diff
--- a/src/testdir/test_vimscript.vim +++ b/src/testdir/test_vimscript.vim @@ -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)