changeset 27366:66046931fa58 v8.2.4211

patch 8.2.4211: window title test still fails in some configurations Commit: https://github.com/vim/vim/commit/3a8ad5918b5c1b4c36b39c420ce933b452929dd8 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 24 22:18:24 2022 +0000 patch 8.2.4211: window title test still fails in some configurations Problem: Window title test still fails in some configurations. Solution: Use WaitForAssert().
author Bram Moolenaar <Bram@vim.org>
date Mon, 24 Jan 2022 23:30:02 +0100
parents 167854be2d22
children 198520f18300
files src/testdir/test_functions.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_functions.vim
+++ b/src/testdir/test_functions.vim
@@ -1643,7 +1643,7 @@ func Test_setbufvar_keep_window_title()
   END
   call writefile(lines, 'Xsetbufvar')
   let buf = RunVimInTerminal('-S Xsetbufvar', {})
-  call assert_match('Xa.txt', term_gettitle(buf))
+  call WaitForAssert({-> assert_match('Xa.txt', term_gettitle(buf))}, 1000)
 
   call term_sendkeys(buf, "i\<F2>")
   call TermWait(buf)
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4211,
+/**/
     4210,
 /**/
     4209,