Skip to content

Commit

Permalink
patch 8.0.1057: terminal scrape test waits too long
Browse files Browse the repository at this point in the history
Problem:    Terminal scrape test waits too long, it checks for one instead of
            three.
Solution:   Check there are three characters. (micbou)
  • Loading branch information
brammool committed Sep 5, 2017
1 parent 6e32f61 commit 1bfdc07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/testdir/test_terminal.vim
Expand Up @@ -166,8 +166,8 @@ func Test_terminal_scrape_123()
call term_wait(buf)
let g:buf = buf
" On MS-Windows we first get a startup message of two lines, wait for the
" "cls" to happen, after that we have one line.
call WaitFor('len(term_scrape(g:buf, 1)) == 1')
" "cls" to happen, after that we have one line with three characters.
call WaitFor('len(term_scrape(g:buf, 1)) == 3')
call Check_123(buf)

" Must still work after the job ended.
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -769,6 +769,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1057,
/**/
1056,
/**/
Expand Down

0 comments on commit 1bfdc07

Please sign in to comment.