there is no need to execute feedkeys inside a popup context, since keys are added into the global input buffer
This commit is contained in:
parent
789377eab4
commit
0c79384529
1 changed files with 4 additions and 8 deletions
|
|
@ -623,10 +623,8 @@ function! Test_VariableEval()
|
|||
\ } )
|
||||
|
||||
" Expand
|
||||
call win_execute( g:vimspector_session_windows.eval, [
|
||||
\ 'call feedkeys( ''jjjj'', ''xt'' )',
|
||||
\ 'call feedkeys( "\<CR>", ''xt'' )'
|
||||
\ ] )
|
||||
call feedkeys( 'jjjj', 'xt' )
|
||||
call feedkeys( "\<CR>", 'xt' )
|
||||
|
||||
call WaitForAssert( {->
|
||||
\ AssertMatchist(
|
||||
|
|
@ -646,11 +644,9 @@ function! Test_VariableEval()
|
|||
\ } )
|
||||
|
||||
"Close
|
||||
call win_execute( g:vimspector_session_windows.eval, 'call feedkeys( "\<Esc>", ''xt'')')
|
||||
call feedkeys( "\<Esc>", 'xt' )
|
||||
|
||||
call WaitForAssert( {->
|
||||
\ assert_equal( 0, g:vimspector_session_windows.eval )
|
||||
\ } )
|
||||
call assert_equal( v:none, g:vimspector_session_windows.eval )
|
||||
|
||||
call vimspector#test#setup#Reset()
|
||||
%bwipe!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue