1
0
forked from aniani/vim

patch 8.2.2007: test for insert mode in popup is not reliable

Problem:    Test for insert mode in popup is not reliable.
Solution:   Wait for the popup to disappear. (Ozaki Kiichi, closes #7321)
This commit is contained in:
Bram Moolenaar
2020-11-18 12:24:01 +01:00
parent 88774a30c0
commit 17ab28daa0
2 changed files with 3 additions and 1 deletions

View File

@@ -1266,7 +1266,7 @@ func Test_terminal_popup_insert_cmd()
call assert_equal('n', mode()) call assert_equal('n', mode())
call feedkeys("\<C-D>", 'xt') call feedkeys("\<C-D>", 'xt')
sleep 50m call WaitFor({-> popup_list() == []})
delfunc StartTermInPopup delfunc StartTermInPopup
iunmap <F3> iunmap <F3>
endfunc endfunc

View File

@@ -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 */
/**/
2007,
/**/ /**/
2006, 2006,
/**/ /**/