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 feedkeys('0', 'xt')
|
||||
call assert_equal('0', g:ignored)
|
||||
redraw
|
||||
call assert_equal(1, getcurpos()[2])
|
||||
|
||||
" x closes the popup
|
||||
|
Reference in New Issue
Block a user