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 feedkeys("\<C-D>", 'xt')
|
||||
sleep 50m
|
||||
call WaitFor({-> popup_list() == []})
|
||||
delfunc StartTermInPopup
|
||||
iunmap <F3>
|
||||
endfunc
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2007,
|
||||
/**/
|
||||
2006,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user