vim-patch:7.4.1046

Problem:    No test coverage for menus.
Solution:   Load the standard menus and check there is no error.

2d6c800272
This commit is contained in:
James McCoy
2016-05-18 22:01:56 -04:00
parent c17f6c5396
commit b907c85fb4
3 changed files with 11 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ SCRIPTS := \
NEW_TESTS = \ NEW_TESTS = \
test_cursor_func.res \ test_cursor_func.res \
test_help_tagjump.res \ test_help_tagjump.res \
test_menu.res \
test_viml.res \ test_viml.res \
test_alot.res test_alot.res

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

@@ -638,7 +638,7 @@ static int included_patches[] = {
1049, 1049,
1048, 1048,
1047, 1047,
// 1046, 1046,
// 1045 NA // 1045 NA
// 1044 NA // 1044 NA
// 1043 NA // 1043 NA