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:
@@ -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
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user