mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
patch 8.2.1999: terminal popup test sometimes fails
Problem: Terminal popup test sometimes fails. Solution: Wait for the popup to close.
This commit is contained in:
@@ -1249,8 +1249,8 @@ func Test_terminal_popup_bufload()
|
|||||||
" must not have switched to another window
|
" must not have switched to another window
|
||||||
call assert_equal(winid, win_getid())
|
call assert_equal(winid, win_getid())
|
||||||
|
|
||||||
call feedkeys("exit\<CR>", 'xt')
|
call StopShellInTerminal(termbuf)
|
||||||
sleep 50m
|
call WaitFor({-> win_getid() != winid})
|
||||||
exe 'bwipe! ' .. newbuf
|
exe 'bwipe! ' .. newbuf
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
@@ -750,6 +750,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 */
|
||||||
|
/**/
|
||||||
|
1999,
|
||||||
/**/
|
/**/
|
||||||
1998,
|
1998,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user