0
0
mirror of https://github.com/vim/vim.git synced 2025-10-05 05:34:07 -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:
Bram Moolenaar
2020-11-16 21:10:34 +01:00
parent 27f4f6baee
commit e6329e4c55
2 changed files with 4 additions and 2 deletions

View File

@@ -1249,8 +1249,8 @@ func Test_terminal_popup_bufload()
" must not have switched to another window
call assert_equal(winid, win_getid())
call feedkeys("exit\<CR>", 'xt')
sleep 50m
call StopShellInTerminal(termbuf)
call WaitFor({-> win_getid() != winid})
exe 'bwipe! ' .. newbuf
endfunc

View File

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