mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.0.1670: terminal window tests are still a bit flaky
Problem: Terminal window tests are still a bit flaky. Solution: Increase the waiting time for the buffer to be created.
This commit is contained in:
@@ -1061,7 +1061,7 @@ func Api_drop_common(options)
|
||||
\ "set t_ts=",
|
||||
\ ], 'Xscript')
|
||||
let buf = RunVimInTerminal('-S Xscript', {})
|
||||
call WaitFor({-> bufnr('Xtextfile') > 0})
|
||||
call WaitFor({-> bufnr('Xtextfile') > 0}, 2000)
|
||||
call assert_equal('Xtextfile', expand('%:t'))
|
||||
call assert_true(winnr('$') >= 3)
|
||||
return buf
|
||||
|
@@ -762,6 +762,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1670,
|
||||
/**/
|
||||
1669,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user