1
0
forked from aniani/vim
Files
vim/src/testdir/test_menu.vim
Bram Moolenaar 2d6c800272 patch 7.4.1046
Problem:    No test coverage for menus.
Solution:   Load the standard menus and check there is no error.
2016-01-03 23:31:24 +01:00

10 lines
199 B
VimL

" 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