mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-02-09 20:26:37 +01:00
Problem: No test coverage for menus. Solution: Load the standard menus and check there is no error.
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
|