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
|
" Expand
|
||||||
call win_execute( g:vimspector_session_windows.eval, [
|
call feedkeys( 'jjjj', 'xt' )
|
||||||
\ 'call feedkeys( ''jjjj'', ''xt'' )',
|
call feedkeys( "\<CR>", 'xt' )
|
||||||
\ 'call feedkeys( "\<CR>", ''xt'' )'
|
|
||||||
\ ] )
|
|
||||||
|
|
||||||
call WaitForAssert( {->
|
call WaitForAssert( {->
|
||||||
\ AssertMatchist(
|
\ AssertMatchist(
|
||||||
|
|
@ -646,11 +644,9 @@ function! Test_VariableEval()
|
||||||
\ } )
|
\ } )
|
||||||
|
|
||||||
"Close
|
"Close
|
||||||
call win_execute( g:vimspector_session_windows.eval, 'call feedkeys( "\<Esc>", ''xt'')')
|
call feedkeys( "\<Esc>", 'xt' )
|
||||||
|
|
||||||
call WaitForAssert( {->
|
call assert_equal( v:none, g:vimspector_session_windows.eval )
|
||||||
\ assert_equal( 0, g:vimspector_session_windows.eval )
|
|
||||||
\ } )
|
|
||||||
|
|
||||||
call vimspector#test#setup#Reset()
|
call vimspector#test#setup#Reset()
|
||||||
%bwipe!
|
%bwipe!
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue