# HG changeset patch # User Bram Moolenaar # Date 1592850603 -7200 # Node ID 769f5a2d0879ad3e7e68b4e7b8cd39f007380ee1 # Parent 98123dbc498a402bd312df17da9fa82cbabd7e99 patch 8.2.1038: popupwin test fails Commit: https://github.com/vim/vim/commit/b2b218d89b3a6f450e65afd5e59ac234a5fa1eb7 Author: Bram Moolenaar Date: Mon Jun 22 20:22:19 2020 +0200 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 --- a/src/testdir/test_popupwin.vim +++ b/src/testdir/test_popupwin.vim @@ -2454,10 +2454,9 @@ func Test_popupwin_terminal_buffer() call term_sendkeys(termbuf2, "exit\") " Exiting shell closes popup window - let pupwin = win_getid() call feedkeys("exit\", '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\", 'xt') call assert_equal(origwin, win_getid()) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1038, +/**/ 1037, /**/ 1036,