1
0
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:
Bram Moolenaar
2021-06-12 13:59:03 +02:00
parent 5958549760
commit 0b71955552
2 changed files with 3 additions and 0 deletions

View File

@@ -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