mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
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().
3a8ad5918b
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user