changeset 29908:f60329b1ff1d v9.0.0292

patch 9.0.0292: test causes another test to fail Commit: https://github.com/vim/vim/commit/d1f8fd59074d9c8b4d00ccdea77726a9195e0be4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 27 22:51:25 2022 +0100 patch 9.0.0292: test causes another test to fail Problem: Test causes another test to fail. Solution: Redraw to remove the popup window
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Aug 2022 00:00:03 +0200
parents b9d58364d307
children 170606715a46
files src/testdir/test_messages.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_messages.vim
+++ b/src/testdir/test_messages.vim
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -708,6 +708,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    292,
+/**/
     291,
 /**/
     290,