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:
@@ -166,8 +166,8 @@ func Test_terminal_scrape_123()
|
|||||||
call term_wait(buf)
|
call term_wait(buf)
|
||||||
let g:buf = buf
|
let g:buf = buf
|
||||||
" On MS-Windows we first get a startup message of two lines, wait for the
|
" On MS-Windows we first get a startup message of two lines, wait for the
|
||||||
" "cls" to happen, after that we have one line.
|
" "cls" to happen, after that we have one line with three characters.
|
||||||
call WaitFor('len(term_scrape(g:buf, 1)) == 1')
|
call WaitFor('len(term_scrape(g:buf, 1)) == 3')
|
||||||
call Check_123(buf)
|
call Check_123(buf)
|
||||||
|
|
||||||
" Must still work after the job ended.
|
" Must still work after the job ended.
|
||||||
|
@@ -769,6 +769,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1057,
|
||||||
/**/
|
/**/
|
||||||
1056,
|
1056,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user