]> granicus.if.org Git - vim/commitdiff
patch 9.0.0292: test causes another test to fail v9.0.0292
authorBram Moolenaar <Bram@vim.org>
Sat, 27 Aug 2022 21:51:25 +0000 (22:51 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 27 Aug 2022 21:51:25 +0000 (22:51 +0100)
Problem:    Test causes another test to fail.
Solution:   Redraw to remove the popup window

src/testdir/test_messages.vim
src/version.c

index 8a7d05509e6f3f59e508b522f5c90db8fadbcb0e..bb761ab83331f39472c446dc0f21496e3524532d 100644 (file)
@@ -387,9 +387,7 @@ func Test_fileinfo_after_echo()
   call delete('b.txt')
 endfunc
 
-" FIXME: running this last as it seems to cause
-" Test_mapping_at_hit_return_prompt() to faile
-func Test_x_cmdheight_zero()
+func Test_cmdheight_zero()
   enew
   set cmdheight=0
   set showcmd
@@ -463,6 +461,9 @@ func Test_x_cmdheight_zero()
   set showcmd&
   tabnew
   tabonly
+
+  "redraw to hide the popup window
+  redraw
 endfunc
 
 " vim: shiftwidth=2 sts=2 expandtab
index cb54364b0204a9dcc97e47ec74824a17bbe05b1f..4ff578f594eae9ddca0b949b3cb24beb33fa19e9 100644 (file)
@@ -707,6 +707,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    292,
 /**/
     291,
 /**/