changeset 17338:b0de2e92ed46 v8.1.1668

patch 8.1.1668: popup window test is a bit flaky on some systems commit https://github.com/vim/vim/commit/8ccabf624ef4eb7ebe3e4d52449bc0bc545810f2 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 12 18:12:51 2019 +0200 patch 8.1.1668: popup window test is a bit flaky on some systems Problem: Popup window test is a bit flaky on some systems. Solution: Clear the command line. (Naruhiko Nishino, closes https://github.com/vim/vim/issues/4656)
author Bram Moolenaar <Bram@vim.org>
date Fri, 12 Jul 2019 18:15:05 +0200
parents 9ccc84e56c4e
children b8c348aabb60
files src/testdir/test_popupwin.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -525,6 +525,9 @@ func Test_popup_select()
 
   call term_sendkeys(buf, ":call popup_close(winid)\<CR>")
   call term_sendkeys(buf, "\"*p")
+  " clean the command line, sometimes it still shows a command
+  call term_sendkeys(buf, ":\<esc>")
+
   call VerifyScreenDump(buf, 'Test_popupwin_select_02', {})
 
   " clean up
--- a/src/version.c
+++ b/src/version.c
@@ -778,6 +778,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1668,
+/**/
     1667,
 /**/
     1666,