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.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/test_menu.vim b/src/testdir/test_menu.vim
new file mode 100644
index 000000000..be559467c
--- /dev/null
+++ b/src/testdir/test_menu.vim
@@ -0,0 +1,9 @@
+" Test that the system menu can be loaded.
+
+func Test_load_menu()
+ try
+ source $VIMRUNTIME/menu.vim
+ catch
+ call assert_false(1, 'error while loading menus: ' . v:exception)
+ endtry
+endfunc