patch 8.2.1038: popupwin test fails
Problem: Popupwin test fails.
Solution: Fix WaitForAssert() argument.
diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim
index 80a1459..9fb51ab 100644
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -2454,10 +2454,9 @@
call term_sendkeys(termbuf2, "exit\<CR>")
" Exiting shell closes popup window
- let pupwin = win_getid()
call feedkeys("exit\<CR>", 'xt')
" Wait for shell to exit
- call WaitForAssert({-> assert_notequal(pupwin, win_getid())})
+ call WaitForAssert({-> assert_equal("dead", job_status(term_getjob(termbuf)))})
call feedkeys(":quit\<CR>", 'xt')
call assert_equal(origwin, win_getid())