Problem: No test coverage for menus.
Solution: Load the standard menus and check there is no error.
source test_backspace_opt.vim
source test_lispwords.vim
+source test_menu.vim
source test_searchpos.vim
source test_set.vim
source test_sort.vim
--- /dev/null
+" 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
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1046,
/**/
1045,
/**/