From: Bram Moolenaar Date: Mon, 24 Jan 2022 22:18:24 +0000 (+0000) Subject: patch 8.2.4211: window title test still fails in some configurations X-Git-Tag: v8.2.4211 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a8ad5918b5c1b4c36b39c420ce933b452929dd8;p=vim 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 index 39110bbf6..edd03e37c 100644 --- 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 index 5be047389..18d8fc79d 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4211, /**/ 4210, /**/