]> granicus.if.org Git - vim/commitdiff
patch 8.2.4211: window title test still fails in some configurations v8.2.4211
authorBram Moolenaar <Bram@vim.org>
Mon, 24 Jan 2022 22:18:24 +0000 (22:18 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 24 Jan 2022 22:18:24 +0000 (22:18 +0000)
Problem:    Window title test still fails in some configurations.
Solution:   Use WaitForAssert().

src/testdir/test_functions.vim
src/version.c

index 39110bbf6638056f868b46cd0356c51babc83c00..edd03e37c9582ae44a3b05617597fc4a0605ff11 100644 (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)
index 5be0473898078aa4ff37da272728783881c40e78..18d8fc79da6f756ac453c72da880a53951af15c7 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4211,
 /**/
     4210,
 /**/