mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.0.1116: terminal test fails on MS-Windows
Problem: Terminal test fails on MS-Windows. Solution: Wait for the text to appear. (micbou, closes #2097)
This commit is contained in:
@@ -634,7 +634,8 @@ func TerminalTmap(remap)
|
|||||||
call assert_equal('456', maparg('123', 't'))
|
call assert_equal('456', maparg('123', 't'))
|
||||||
call assert_equal('abcde', maparg('456', 't'))
|
call assert_equal('abcde', maparg('456', 't'))
|
||||||
call feedkeys("123", 'tx')
|
call feedkeys("123", 'tx')
|
||||||
call term_wait(buf)
|
let g:buf = buf
|
||||||
|
call WaitFor("term_getline(g:buf,term_getcursor(g:buf)[0]) =~ 'abcde\\|456'")
|
||||||
let lnum = term_getcursor(buf)[0]
|
let lnum = term_getcursor(buf)[0]
|
||||||
if a:remap
|
if a:remap
|
||||||
call assert_match('abcde', term_getline(buf, lnum))
|
call assert_match('abcde', term_getline(buf, lnum))
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
1116,
|
||||||
/**/
|
/**/
|
||||||
1115,
|
1115,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user