Skip to content

Commit b2b218d

Browse files
committed
patch 8.2.1038: popupwin test fails
Problem: Popupwin test fails. Solution: Fix WaitForAssert() argument.
1 parent acd4c5e commit b2b218d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/testdir/test_popupwin.vim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2454,10 +2454,9 @@ func Test_popupwin_terminal_buffer()
24542454
call term_sendkeys(termbuf2, "exit\<CR>")
24552455

24562456
" Exiting shell closes popup window
2457-
let pupwin = win_getid()
24582457
call feedkeys("exit\<CR>", 'xt')
24592458
" Wait for shell to exit
2460-
call WaitForAssert({-> assert_notequal(pupwin, win_getid())})
2459+
call WaitForAssert({-> assert_equal("dead", job_status(term_getjob(termbuf)))})
24612460

24622461
call feedkeys(":quit\<CR>", 'xt')
24632462
call assert_equal(origwin, win_getid())

src/version.c

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

755755
static int included_patches[] =
756756
{ /* Add new patch number below this line */
757+
/**/
758+
1038,
757759
/**/
758760
1037,
759761
/**/

0 commit comments

Comments
 (0)