Skip to content

Commit a1c8ecf

Browse files
committed
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.
1 parent 5558d19 commit a1c8ecf

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/testdir/test_menu.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ func Test_load_menu()
1010
catch
1111
call assert_false(1, 'error while loading menus: ' . v:exception)
1212
endtry
13+
call assert_match('browse confirm w', execute(':menu File.Save'))
1314
source $VIMRUNTIME/delmenu.vim
1415
endfunc
1516

@@ -21,6 +22,8 @@ func Test_translate_menu()
2122
throw 'Skipped: translated menu not found'
2223
endif
2324

25+
" First delete any English menus.
26+
source $VIMRUNTIME/delmenu.vim
2427
set langmenu=de_de
2528
source $VIMRUNTIME/menu.vim
2629
call assert_match('browse confirm w', execute(':menu Datei.Speichern'))

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
413,
767769
/**/
768770
412,
769771
/**/

0 commit comments

Comments
 (0)