# HG changeset patch # User Christian Brabandt # Date 1505576704 -7200 # Node ID 27c5d8954231b9567e52bc31e225a2ee38abc574 # Parent 9034be9808f8ff319d76bb7b41acb2a04ff16cd0 patch 8.0.1116: terminal test fails on MS-Windows commit https://github.com/vim/vim/commit/1514e8f4271d0039740b968a9f7d0d7f81a262a2 Author: Bram Moolenaar Date: Sat Sep 16 17:35:13 2017 +0200 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 https://github.com/vim/vim/issues/2097) diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim --- a/src/testdir/test_terminal.vim +++ b/src/testdir/test_terminal.vim @@ -634,7 +634,8 @@ func TerminalTmap(remap) call assert_equal('456', maparg('123', 't')) call assert_equal('abcde', maparg('456', 't')) 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] if a:remap call assert_match('abcde', term_getline(buf, lnum)) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -770,6 +770,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1116, +/**/ 1115, /**/ 1114,