mirror of
https://github.com/neovim/neovim.git
synced 2026-01-18 19:19:19 +10:00
Problem: No test coverage for menus.
Solution: Load the standard menus and check there is no error.
2d6c800272
10 lines
199 B
VimL
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
|