# HG changeset patch # User Bram Moolenaar # Date 1643063402 -3600 # Node ID 66046931fa5841bada649daee594cd02f0c1d998 # Parent 167854be2d22d55e570ec8652063ad3d20615c5d patch 8.2.4211: window title test still fails in some configurations Commit: https://github.com/vim/vim/commit/3a8ad5918b5c1b4c36b39c420ce933b452929dd8 Author: Bram Moolenaar 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(). diff --git a/src/testdir/test_functions.vim b/src/testdir/test_functions.vim --- 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\") call TermWait(buf) diff --git a/src/version.c b/src/version.c --- 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,