forked from aniani/vim
patch 8.2.2980: popup window test is a bit flaky
Problem: Popup window test is a bit flaky. Solution: Add a redraw command.
This commit is contained in:
@@ -1552,6 +1552,7 @@ func Test_popup_filter()
|
|||||||
call assert_equal(9, getcurpos()[2])
|
call assert_equal(9, getcurpos()[2])
|
||||||
call feedkeys('0', 'xt')
|
call feedkeys('0', 'xt')
|
||||||
call assert_equal('0', g:ignored)
|
call assert_equal('0', g:ignored)
|
||||||
|
redraw
|
||||||
call assert_equal(1, getcurpos()[2])
|
call assert_equal(1, getcurpos()[2])
|
||||||
|
|
||||||
" x closes the popup
|
" x closes the popup
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2980,
|
||||||
/**/
|
/**/
|
||||||
2979,
|
2979,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user