summaryrefslogtreecommitdiff
path: root/src/testdir
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir')
-rw-r--r--src/testdir/test_alot.vim1
-rw-r--r--src/testdir/test_menu.vim9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/test_alot.vim b/src/testdir/test_alot.vim
index 20add03ce..9800afce7 100644
--- a/src/testdir/test_alot.vim
+++ b/src/testdir/test_alot.vim
@@ -3,6 +3,7 @@
source test_backspace_opt.vim
source test_lispwords.vim
+source test_menu.vim
source test_searchpos.vim
source test_set.vim
source test_sort.vim
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