comparison src/testdir/test_assert.vim @ 30043:fd855ad74887 v9.0.0359

patch 9.0.0359: error message for wrong argument type is not specific Commit: https://github.com/vim/vim/commit/8deb2b30c77035bb682ccf80b781455ac1d6038b Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Fri Sep 2 15:15:27 2022 +0100 patch 9.0.0359: error message for wrong argument type is not specific Problem: Error message for wrong argument type is not specific. Solution: Include more information in the error. (Yegappan Lakshmanan, closes #11037)
author Bram Moolenaar <Bram@vim.org>
date Fri, 02 Sep 2022 16:30:07 +0200
parents 567b5a2a1884
children 0a50e536de81
comparison
equal deleted inserted replaced
30042:24d37e312b7b 30043:fd855ad74887
366 func Test_override() 366 func Test_override()
367 call test_override('char_avail', 1) 367 call test_override('char_avail', 1)
368 eval 1->test_override('redraw') 368 eval 1->test_override('redraw')
369 call test_override('ALL', 0) 369 call test_override('ALL', 0)
370 call assert_fails("call test_override('xxx', 1)", 'E475:') 370 call assert_fails("call test_override('xxx', 1)", 'E475:')
371 call assert_fails("call test_override('redraw', 'yes')", 'E474:') 371 call assert_fails("call test_override('redraw', 'yes')", 'E1210:')
372 endfunc 372 endfunc
373 373
374 func Test_mouse_position() 374 func Test_mouse_position()
375 let save_mouse = &mouse 375 let save_mouse = &mouse
376 set mouse=a 376 set mouse=a