Skip to content

Commit 4c5bdb9

Browse files
committed
patch 8.2.2149: popupwin test for latin1 sometimes fails
Problem: Popupwin test for latin1 sometimes fails. Solution: Wait for the script to finish.
1 parent 1c0aa97 commit 4c5bdb9

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/testdir/test_popupwin.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3721,11 +3721,14 @@ func Test_popupwin_latin1_encoding()
37213721
set encoding=latin1
37223722
terminal cat Xmultibyte
37233723
call popup_create(['one', 'two', 'three', 'four'], #{line: 1, col: 10})
3724+
redraw
3725+
echo "Done"
37243726
END
37253727
call writefile(lines, 'XtestPopupLatin')
37263728
call writefile([repeat("\u3042 ", 120)], 'Xmultibyte')
37273729

37283730
let buf = RunVimInTerminal('-S XtestPopupLatin', #{rows: 10})
3731+
call WaitForAssert({-> assert_match('Done', term_getline(buf, 10))})
37293732

37303733
call term_sendkeys(buf, ":q\<CR>")
37313734
call StopVimInTerminal(buf)

src/version.c

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

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2149,
753755
/**/
754756
2148,
755757
/**/

0 commit comments

Comments
 (0)