Patch 8.2.2149

4 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 17, 2020, 11:46:34 AM12/17/20
to vim...@googlegroups.com

Patch 8.2.2149
Problem: Popupwin test for latin1 sometimes fails.
Solution: Wait for the script to finish.
Files: src/testdir/test_popupwin.vim


*** ../vim-8.2.2148/src/testdir/test_popupwin.vim 2020-12-12 18:17:46.463804077 +0100
--- src/testdir/test_popupwin.vim 2020-12-17 17:42:50.757504865 +0100
***************
*** 3721,3731 ****
--- 3721,3734 ----
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)
*** ../vim-8.2.2148/src/version.c 2020-12-16 21:43:47.451181035 +0100
--- src/version.c 2020-12-17 17:44:37.072980768 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2149,
/**/

--
"Lisp has all the visual appeal of oatmeal with nail clippings thrown in."
-- Larry Wall

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages