changeset 20974:769f5a2d0879 v8.2.1038

patch 8.2.1038: popupwin test fails Commit: https://github.com/vim/vim/commit/b2b218d89b3a6f450e65afd5e59ac234a5fa1eb7 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 22 20:22:19 2020 +0200 patch 8.2.1038: popupwin test fails Problem: Popupwin test fails. Solution: Fix WaitForAssert() argument.
author Bram Moolenaar <Bram@vim.org>
date Mon, 22 Jun 2020 20:30:03 +0200
parents 98123dbc498a
children d25769ea2be3
files src/testdir/test_popupwin.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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\<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())
--- 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,