Skip to content

Commit 8ccabf6

Browse files
committed
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 #4656)
1 parent 8071cb2 commit 8ccabf6

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/testdir/test_popupwin.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,9 @@ func Test_popup_select()
525525

526526
call term_sendkeys(buf, ":call popup_close(winid)\<CR>")
527527
call term_sendkeys(buf, "\"*p")
528+
" clean the command line, sometimes it still shows a command
529+
call term_sendkeys(buf, ":\<esc>")
530+
528531
call VerifyScreenDump(buf, 'Test_popupwin_select_02', {})
529532

530533
" clean up

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,8 @@ static char *(features[]) =
777777

778778
static int included_patches[] =
779779
{ /* Add new patch number below this line */
780+
/**/
781+
1668,
780782
/**/
781783
1667,
782784
/**/

0 commit comments

Comments
 (0)