mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 20:48:32 +00:00
vim-patch:8.0.0413: menu test fails on MS-Windows #8173
Problem: Menu test fails on MS-Windows using gvim.
Solution: First delete the English menus.
a1c8ecfda9
This commit is contained in:
@@ -10,6 +10,7 @@ func Test_load_menu()
|
|||||||
catch
|
catch
|
||||||
call assert_report('error while loading menus: ' . v:exception)
|
call assert_report('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'))
|
||||||
|
Reference in New Issue
Block a user