summaryrefslogtreecommitdiff
path: root/src/testdir/test_menu.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_menu.vim')
-rw-r--r--src/testdir/test_menu.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_menu.vim b/src/testdir/test_menu.vim
index 3df156011..c867162e5 100644
--- a/src/testdir/test_menu.vim
+++ b/src/testdir/test_menu.vim
@@ -407,6 +407,9 @@ func Test_menu_info()
\ shortcut: '', modes: ' ', submenus: ['menu']},
\ menu_info(']Test'))
unmenu ]Test
+
+ " Test for getting all the top-level menu names
+ call assert_notequal(menu_info('').submenus, [])
endfunc
" Test for <special> keyword in a menu with 'cpo' containing '<'