aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-05-18 22:30:09 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-05-18 22:30:09 -0400
commit9c7038c4757351bbeb1e9e6615ec833d3c7dfb4e (patch)
tree39f75a936ed160cf421b61f3e3a24efafd9e268a /src/nvim/testdir
parentc17f6c5396ec3c7cf734f3e7602dd4a5a8e772da (diff)
parentb907c85fb44b0828866ab06bc3cff8a178aa4a94 (diff)
downloadrneovim-9c7038c4757351bbeb1e9e6615ec833d3c7dfb4e.tar.gz
rneovim-9c7038c4757351bbeb1e9e6615ec833d3c7dfb4e.tar.bz2
rneovim-9c7038c4757351bbeb1e9e6615ec833d3c7dfb4e.zip
Merge pull request #4780 from jamessan/vim-7.4.1046
vim-patch:7.4.1046
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/Makefile1
-rw-r--r--src/nvim/testdir/test_menu.vim9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile
index 7195c7e632..0e3149b912 100644
--- a/src/nvim/testdir/Makefile
+++ b/src/nvim/testdir/Makefile
@@ -41,6 +41,7 @@ SCRIPTS := \
NEW_TESTS = \
test_cursor_func.res \
test_help_tagjump.res \
+ test_menu.res \
test_viml.res \
test_alot.res
diff --git a/src/nvim/testdir/test_menu.vim b/src/nvim/testdir/test_menu.vim
new file mode 100644
index 0000000000..be559467c8
--- /dev/null
+++ b/src/nvim/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