0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.4211: window title test still fails in some configurations

Problem:    Window title test still fails in some configurations.
Solution:   Use WaitForAssert().
This commit is contained in:
Bram Moolenaar
2022-01-24 22:18:24 +00:00
parent a6c09a7c20
commit 3a8ad5918b
2 changed files with 3 additions and 1 deletions

View File

@@ -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)

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4211,
/**/
4210,
/**/