]> granicus.if.org Git - vim/commitdiff
patch 8.0.0413: menu test fails on MS-Windows using gvim v8.0.0413
authorBram Moolenaar <Bram@vim.org>
Sat, 4 Mar 2017 20:41:05 +0000 (21:41 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 4 Mar 2017 20:41:05 +0000 (21:41 +0100)
Problem:    Menu test fails on MS-Windows using gvim.
Solution:   First delete the English menus.

src/testdir/test_menu.vim
src/version.c

index f7745660b9860f50fa54454b52baf357946493c2..8acc844f0cbef3e2d3303e22ff55b3f493317076 100644 (file)
@@ -10,6 +10,7 @@ func Test_load_menu()
   catch
     call assert_false(1, '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'))
index 309b8776ebeeae6a1ba9bf6189f5cb942ee705d7..040862b60fb3a2447cc593f3eafe2e70327cadbf 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    413,
 /**/
     412,
 /**/