diff src/testdir/test_messages.vim @ 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 15131b9a7219
children 24fd6fbcd0c0
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