aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorckelsel <ckelsel@hotmail.com>2018-03-25 11:06:07 +0800
committerJustin M. Keyes <justinkz@gmail.com>2019-01-27 01:35:00 +0100
commitf2398a766e094d74ab19f3037872abbc97c16728 (patch)
treee4dc23f0b1e1ffedb5c13255c0cc7f47491dfb8d
parent9697c7f56a269969ef2b784f66483b382278f1d7 (diff)
downloadrneovim-f2398a766e094d74ab19f3037872abbc97c16728.tar.gz
rneovim-f2398a766e094d74ab19f3037872abbc97c16728.tar.bz2
rneovim-f2398a766e094d74ab19f3037872abbc97c16728.zip
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. https://github.com/vim/vim/commit/a1c8ecfda90c0e0e519762ae0521d7f6e297c32e
-rw-r--r--src/nvim/testdir/test_menu.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_menu.vim b/src/nvim/testdir/test_menu.vim
index 5f84c622ab..055d944b15 100644
--- a/src/nvim/testdir/test_menu.vim
+++ b/src/nvim/testdir/test_menu.vim
@@ -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'))