Skip to content

Commit e6329e4

Browse files
committed
patch 8.2.1999: terminal popup test sometimes fails
Problem: Terminal popup test sometimes fails. Solution: Wait for the popup to close.
1 parent 27f4f6b commit e6329e4

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/testdir/test_terminal.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,8 +1249,8 @@ func Test_terminal_popup_bufload()
12491249
" must not have switched to another window
12501250
call assert_equal(winid, win_getid())
12511251

1252-
call feedkeys("exit\<CR>", 'xt')
1253-
sleep 50m
1252+
call StopShellInTerminal(termbuf)
1253+
call WaitFor({-> win_getid() != winid})
12541254
exe 'bwipe! ' .. newbuf
12551255
endfunc
12561256

src/version.c

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

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
1999,
753755
/**/
754756
1998,
755757
/**/

0 commit comments

Comments
 (0)