changeset 23207:f2da0d40449f v8.2.2149

patch 8.2.2149: popupwin test for latin1 sometimes fails Commit: https://github.com/vim/vim/commit/4c5bdb99ad632d703e94fffafba11b91861fea48 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 17 17:45:59 2020 +0100 patch 8.2.2149: popupwin test for latin1 sometimes fails Problem: Popupwin test for latin1 sometimes fails. Solution: Wait for the script to finish.
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Dec 2020 18:00:04 +0100
parents b88986eff4c3
children b0017a247053
files src/testdir/test_popupwin.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -3721,11 +3721,14 @@ func Test_popupwin_latin1_encoding()
       set encoding=latin1
       terminal cat Xmultibyte
       call popup_create(['one', 'two', 'three', 'four'], #{line: 1, col: 10})
+      redraw
+      echo "Done"
   END
   call writefile(lines, 'XtestPopupLatin')
   call writefile([repeat("\u3042 ", 120)], 'Xmultibyte')
 
   let buf = RunVimInTerminal('-S XtestPopupLatin', #{rows: 10})
+  call WaitForAssert({-> assert_match('Done', term_getline(buf, 10))})
 
   call term_sendkeys(buf, ":q\<CR>")
   call StopVimInTerminal(buf)
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2149,
+/**/
     2148,
 /**/
     2147,