From 99fa721944dda9d07c53c907c33466728df5c271 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 26 Apr 2020 15:59:55 +0200 Subject: patch 8.2.0644: insufficient testing for invalid function arguments Problem: Insufficient testing for invalid function arguments. Solution: Add more tests. (Yegappan Lakshmanan, closes #5988) --- src/testdir/test_menu.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'src/testdir/test_menu.vim') diff --git a/src/testdir/test_menu.vim b/src/testdir/test_menu.vim index 85d54f083..4fd282875 100644 --- a/src/testdir/test_menu.vim +++ b/src/testdir/test_menu.vim @@ -255,6 +255,7 @@ func Test_menu_info() nmenu Test.abc call assert_equal('', menu_info('Test.abc').rhs) call assert_fails('call menu_info([])', 'E730:') + call assert_fails('call menu_info("", [])', 'E730:') nunmenu Test " Test for defining menus in different modes -- cgit v1.2.1