Skip to content

Commit b6ed74f

Browse files
committed
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.
1 parent e1bb879 commit b6ed74f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/testdir/test_terminal.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ func Api_drop_common(options)
10611061
\ "set t_ts=",
10621062
\ ], 'Xscript')
10631063
let buf = RunVimInTerminal('-S Xscript', {})
1064-
call WaitFor({-> bufnr('Xtextfile') > 0})
1064+
call WaitFor({-> bufnr('Xtextfile') > 0}, 2000)
10651065
call assert_equal('Xtextfile', expand('%:t'))
10661066
call assert_true(winnr('$') >= 3)
10671067
return buf

src/version.c

+2
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,8 @@ static char *(features[]) =
762762

763763
static int included_patches[] =
764764
{ /* Add new patch number below this line */
765+
/**/
766+
1670,
765767
/**/
766768
1669,
767769
/**/

0 commit comments

Comments
 (0)