diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2021-07-20 17:51:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-20 17:51:51 +0200 |
commit | 83494b4ac61898f687d6ef9dce4bad5802fb8e51 (patch) | |
tree | 36f06f4a70bd9a515527064cd8985029ab27c6a6 /src/testdir/test_gui.vim | |
parent | 9bb0dad0d8283c86fddf5b950f4fbb6fb8f12741 (diff) | |
download | vim-git-83494b4ac61898f687d6ef9dce4bad5802fb8e51.tar.gz |
patch 8.2.3188: Vim9: argument types are not checked at compile timev8.2.3188
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks, also at runtime. (Yegappan
Lakshmanan, closes #8587)
Diffstat (limited to 'src/testdir/test_gui.vim')
-rw-r--r-- | src/testdir/test_gui.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim index b727372a2..237bfb445 100644 --- a/src/testdir/test_gui.vim +++ b/src/testdir/test_gui.vim @@ -1093,11 +1093,11 @@ func Test_gui_mouse_event() let &guioptions = save_guioptions " Test invalid parameters for test_gui_mouse_event() - call assert_fails('call test_gui_mouse_event("", 1, 2, 3, 4)', 'E474:') - call assert_fails('call test_gui_mouse_event(0, "", 2, 3, 4)', 'E474:') - call assert_fails('call test_gui_mouse_event(0, 1, "", 3, 4)', 'E474:') - call assert_fails('call test_gui_mouse_event(0, 1, 2, "", 4)', 'E474:') - call assert_fails('call test_gui_mouse_event(0, 1, 2, 3, "")', 'E474:') + call assert_fails('call test_gui_mouse_event("", 1, 2, 3, 4)', 'E1210:') + call assert_fails('call test_gui_mouse_event(0, "", 2, 3, 4)', 'E1210:') + call assert_fails('call test_gui_mouse_event(0, 1, "", 3, 4)', 'E1210:') + call assert_fails('call test_gui_mouse_event(0, 1, 2, "", 4)', 'E1210:') + call assert_fails('call test_gui_mouse_event(0, 1, 2, 3, "")', 'E1210:') bw! call test_override('no_query_mouse', 0) |