1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2017-09-05 20:19:42 +02:00
parent 6e32f615eb
commit 1bfdc07a49
2 changed files with 4 additions and 2 deletions

View File

@@ -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 File

@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1057,
/**/
1056,
/**/