diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-16 17:35:13 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-16 17:35:13 +0200 |
commit | 1514e8f4271d0039740b968a9f7d0d7f81a262a2 (patch) | |
tree | 1bafd6bb9f250a8d1857d0b87c0db0685f5801f6 /src | |
parent | 495b7dd213e096361e6f15e7aed313c1d63d9d3e (diff) | |
download | vim-git-1514e8f4271d0039740b968a9f7d0d7f81a262a2.tar.gz |
patch 8.0.1116: terminal test fails on MS-Windowsv8.0.1116
Problem: Terminal test fails on MS-Windows.
Solution: Wait for the text to appear. (micbou, closes #2097)
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_terminal.vim | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim index 4a639bd87..96edf41ca 100644 --- 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 index 8b777e7e1..ba32ecbc5 100644 --- 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, |