1
0
forked from aniani/vim

patch 7.4.1046

Problem:    No test coverage for menus.
Solution:   Load the standard menus and check there is no error.
This commit is contained in:
Bram Moolenaar
2016-01-03 23:31:24 +01:00
parent 47707f6f34
commit 2d6c800272
3 changed files with 12 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
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

View File

@@ -0,0 +1,9 @@
" 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

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1046,
/**/
1045,
/**/