# HG changeset patch # User Christian Brabandt # Date 1505156404 -7200 # Node ID 4ae1485b5834cb900ac800cd12e189c3143bc56c # Parent c314b7cde144a3aea95c2f490d74fc020494f041 patch 8.0.1095: terminal multibyte escrape test is flaky commit https://github.com/vim/vim/commit/a038cb5eab24a9c395861694d9b8f610ec0ccb61 Author: Bram Moolenaar Date: Mon Sep 11 20:45:23 2017 +0200 patch 8.0.1095: terminal multibyte escrape test is flaky Problem: Terminal multibyte escrape test is flaky. Solution: Add another condition to wait for. 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 @@ -197,7 +197,7 @@ func Test_terminal_scrape_multibyte() let g:line = 1 endif - call WaitFor('term_scrape(g:buf, g:line)[0].chars == "l"') + call WaitFor('len(term_scrape(g:buf, g:line)) >= 7 && term_scrape(g:buf, g:line)[0].chars == "l"') let l = term_scrape(g:buf, g:line) call assert_true(len(l) >= 7) call assert_equal('l', l[0].chars) 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 */ /**/ + 1095, +/**/ 1094, /**/ 1093,