mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 8.0.0413: menu test fails on MS-Windows using gvim
Problem: Menu test fails on MS-Windows using gvim. Solution: First delete the English menus.
This commit is contained in:
@@ -10,6 +10,7 @@ func Test_load_menu()
|
|||||||
catch
|
catch
|
||||||
call assert_false(1, 'error while loading menus: ' . v:exception)
|
call assert_false(1, 'error while loading menus: ' . v:exception)
|
||||||
endtry
|
endtry
|
||||||
|
call assert_match('browse confirm w', execute(':menu File.Save'))
|
||||||
source $VIMRUNTIME/delmenu.vim
|
source $VIMRUNTIME/delmenu.vim
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
@@ -21,6 +22,8 @@ func Test_translate_menu()
|
|||||||
throw 'Skipped: translated menu not found'
|
throw 'Skipped: translated menu not found'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" First delete any English menus.
|
||||||
|
source $VIMRUNTIME/delmenu.vim
|
||||||
set langmenu=de_de
|
set langmenu=de_de
|
||||||
source $VIMRUNTIME/menu.vim
|
source $VIMRUNTIME/menu.vim
|
||||||
call assert_match('browse confirm w', execute(':menu Datei.Speichern'))
|
call assert_match('browse confirm w', execute(':menu Datei.Speichern'))
|
||||||
|
@@ -764,6 +764,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
413,
|
||||||
/**/
|
/**/
|
||||||
412,
|
412,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user