aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-08-21 16:16:47 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-08-21 16:16:53 +0800
commit67edc0a77297e6bc6f12178c664ef34f227bcbde (patch)
tree83ef9a877676a4acbfaa0295643a689a88cf719d
parent7fab06cb0cf3ac7676a6bc6cc923a6f8d948c420 (diff)
downloadrneovim-67edc0a77297e6bc6f12178c664ef34f227bcbde.tar.gz
rneovim-67edc0a77297e6bc6f12178c664ef34f227bcbde.tar.bz2
rneovim-67edc0a77297e6bc6f12178c664ef34f227bcbde.zip
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(). https://github.com/vim/vim/commit/3a8ad5918b5c1b4c36b39c420ce933b452929dd8 Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r--test/old/testdir/test_functions.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_functions.vim b/test/old/testdir/test_functions.vim
index 19386896b4..fe3faae38a 100644
--- a/test/old/testdir/test_functions.vim
+++ b/test/old/testdir/test_functions.vim
@@ -2022,7 +2022,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)