]> granicus.if.org Git - vim/commitdiff
patch 8.1.1668: popup window test is a bit flaky on some systems v8.1.1668
authorBram Moolenaar <Bram@vim.org>
Fri, 12 Jul 2019 16:12:51 +0000 (18:12 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 12 Jul 2019 16:12:51 +0000 (18:12 +0200)
Problem:    Popup window test is a bit flaky on some systems.
Solution:   Clear the command line. (Naruhiko Nishino, closes #4656)

src/testdir/test_popupwin.vim
src/version.c

index 1a39d284f6d6147223c7d9aeb0b9a678d4890222..7b7b1bd75520ddd34749ca1d4f131a4f3a7b913e 100644 (file)
@@ -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
index afd775a71b91cad21256f039c7b028bd43a71bfc..a2137ccae3c4c534b2108eef13e29806398fdba6 100644 (file)
@@ -777,6 +777,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1668,
 /**/
     1667,
 /**/