Permalink
Browse files

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)
  • Loading branch information...
brammool committed Sep 5, 2017
1 parent 6e32f61 commit 1bfdc07a4996b5905b4971e18a6487a18e6461a4
Showing with 4 additions and 2 deletions.
  1. +2 −2 src/testdir/test_terminal.vim
  2. +2 −0 src/version.c
@@ -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.
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1057,
/**/
1056,
/**/

0 comments on commit 1bfdc07

Please sign in to comment.