Skip to content

Commit 712549e

Browse files
committed
patch 8.0.1171: popup test is still a bit flaky
Problem: Popup test is still a bit flaky. Solution: Change term_wait() calls. (Ozaki Kiichi)
1 parent f336061 commit 712549e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/testdir/test_popup.vim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,8 @@ func Test_popup_and_window_resize()
645645
endif
646646
let g:buf = term_start([$VIMPROG, '--clean', '-c', 'set noswapfile'], {'term_rows': h / 3})
647647
call term_sendkeys(g:buf, (h / 3 - 1)."o\<esc>G")
648-
call term_wait(g:buf, 100)
649648
call term_sendkeys(g:buf, "i\<c-x>")
650-
call term_wait(g:buf, 100)
649+
call term_wait(g:buf, 200)
651650
call term_sendkeys(g:buf, "\<c-v>")
652651
call term_wait(g:buf, 100)
653652
" popup first entry "!" must be at the top

src/version.c

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

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
1171,
764766
/**/
765767
1170,
766768
/**/

0 commit comments

Comments
 (0)