1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2017-10-01 16:59:18 +02:00
parent f33606112a
commit 712549e04e
2 changed files with 3 additions and 2 deletions

View File

@@ -645,9 +645,8 @@ func Test_popup_and_window_resize()
endif endif
let g:buf = term_start([$VIMPROG, '--clean', '-c', 'set noswapfile'], {'term_rows': h / 3}) let g:buf = term_start([$VIMPROG, '--clean', '-c', 'set noswapfile'], {'term_rows': h / 3})
call term_sendkeys(g:buf, (h / 3 - 1)."o\<esc>G") call term_sendkeys(g:buf, (h / 3 - 1)."o\<esc>G")
call term_wait(g:buf, 100)
call term_sendkeys(g:buf, "i\<c-x>") call term_sendkeys(g:buf, "i\<c-x>")
call term_wait(g:buf, 100) call term_wait(g:buf, 200)
call term_sendkeys(g:buf, "\<c-v>") call term_sendkeys(g:buf, "\<c-v>")
call term_wait(g:buf, 100) call term_wait(g:buf, 100)
" popup first entry "!" must be at the top " popup first entry "!" must be at the top

View File

@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1171,
/**/ /**/
1170, 1170,
/**/ /**/