0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.1038: popupwin test fails

Problem:    Popupwin test fails.
Solution:   Fix WaitForAssert() argument.
This commit is contained in:
Bram Moolenaar
2020-06-22 20:22:19 +02:00
parent acd4c5e914
commit b2b218d89b
2 changed files with 3 additions and 2 deletions

View File

@@ -2454,10 +2454,9 @@ func Test_popupwin_terminal_buffer()
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())

View File

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