neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 67edc0a77297e6bc6f12178c664ef34f227bcbde
parent 7fab06cb0cf3ac7676a6bc6cc923a6f8d948c420
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Mon, 21 Aug 2023 16:16:47 +0800

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>

Diffstat:
Mtest/old/testdir/test_functions.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)