summaryrefslogtreecommitdiff
path: root/src/testdir/test_menu.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-26 15:59:55 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-26 15:59:55 +0200
commit99fa721944dda9d07c53c907c33466728df5c271 (patch)
tree7ead4c06b56e21eb208ea1b9673cd463ba13f3c0 /src/testdir/test_menu.vim
parente297802d6ddbebbf36f9a2d01127c034fab88b3b (diff)
downloadvim-git-99fa721944dda9d07c53c907c33466728df5c271.tar.gz
patch 8.2.0644: insufficient testing for invalid function argumentsv8.2.0644
Problem: Insufficient testing for invalid function arguments. Solution: Add more tests. (Yegappan Lakshmanan, closes #5988)
Diffstat (limited to 'src/testdir/test_menu.vim')
-rw-r--r--src/testdir/test_menu.vim1
1 files changed, 1 insertions, 0 deletions
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 <Nop>
call assert_equal('<Nop>', 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