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:
@@ -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
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user