Skip to content

Commit 1bfdc07

Browse files
committed
patch 8.0.1057: terminal scrape test waits too long
Problem: Terminal scrape test waits too long, it checks for one instead of three. Solution: Check there are three characters. (micbou)
1 parent 6e32f61 commit 1bfdc07

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/testdir/test_terminal.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ func Test_terminal_scrape_123()
166166
call term_wait(buf)
167167
let g:buf = buf
168168
" On MS-Windows we first get a startup message of two lines, wait for the
169-
" "cls" to happen, after that we have one line.
170-
call WaitFor('len(term_scrape(g:buf, 1)) == 1')
169+
" "cls" to happen, after that we have one line with three characters.
170+
call WaitFor('len(term_scrape(g:buf, 1)) == 3')
171171
call Check_123(buf)
172172

173173
" Must still work after the job ended.

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
1057,
772774
/**/
773775
1056,
774776
/**/

0 commit comments

Comments
 (0)