Skip to content

Commit a038cb5

Browse files
committed
patch 8.0.1095: terminal multibyte escrape test is flaky
Problem: Terminal multibyte escrape test is flaky. Solution: Add another condition to wait for.
1 parent c212798 commit a038cb5

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/testdir/test_terminal.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func Test_terminal_scrape_multibyte()
197197
let g:line = 1
198198
endif
199199

200-
call WaitFor('term_scrape(g:buf, g:line)[0].chars == "l"')
200+
call WaitFor('len(term_scrape(g:buf, g:line)) >= 7 && term_scrape(g:buf, g:line)[0].chars == "l"')
201201
let l = term_scrape(g:buf, g:line)
202202
call assert_true(len(l) >= 7)
203203
call assert_equal('l', l[0].chars)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
1095,
772774
/**/
773775
1094,
774776
/**/

0 commit comments

Comments
 (0)