mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 04:28:33 +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
|
||||
call assert_report('error while loading menus: ' . v:exception)
|
||||
endtry
|
||||
call assert_match('browse confirm w', execute(':menu File.Save'))
|
||||
source $VIMRUNTIME/delmenu.vim
|
||||
endfunc
|
||||
|
||||
@@ -21,6 +22,8 @@ func Test_translate_menu()
|
||||
throw 'Skipped: translated menu not found'
|
||||
endif
|
||||
|
||||
" First delete any English menus.
|
||||
source $VIMRUNTIME/delmenu.vim
|
||||
set langmenu=de_de
|
||||
source $VIMRUNTIME/menu.vim
|
||||
call assert_match('browse confirm w', execute(':menu Datei.Speichern'))
|
||||
|
Reference in New Issue
Block a user