mirror of
https://github.com/neovim/neovim.git
synced 2026-08-22 07:11:12 +00:00
Problem: Tests use assert_true(0) and assert_false(1) to report errors.
Solution: Use assert_report().
37175409d7
10 lines
197 B
VimL
10 lines
197 B
VimL
" Test that the system menu can be loaded.
|
|
|
|
func Test_load_menu()
|
|
try
|
|
source $VIMRUNTIME/menu.vim
|
|
catch
|
|
call assert_report('error while loading menus: ' . v:exception)
|
|
endtry
|
|
endfunc
|