mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +00:00
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:
@@ -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
|
||||||
|
|
||||||
|
9
src/nvim/testdir/test_menu.vim
Normal file
9
src/nvim/testdir/test_menu.vim
Normal 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
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user