From 0c79384529f413ee58d453a4c6ec41a5cde8b15d Mon Sep 17 00:00:00 2001 From: dsych Date: Fri, 15 Jan 2021 08:50:39 -0500 Subject: [PATCH] there is no need to execute feedkeys inside a popup context, since keys are added into the global input buffer --- tests/variables.test.vim | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tests/variables.test.vim b/tests/variables.test.vim index 5cf575f..c587dea 100644 --- a/tests/variables.test.vim +++ b/tests/variables.test.vim @@ -623,10 +623,8 @@ function! Test_VariableEval() \ } ) " Expand - call win_execute( g:vimspector_session_windows.eval, [ - \ 'call feedkeys( ''jjjj'', ''xt'' )', - \ 'call feedkeys( "\", ''xt'' )' - \ ] ) + call feedkeys( 'jjjj', 'xt' ) + call feedkeys( "\", 'xt' ) call WaitForAssert( {-> \ AssertMatchist( @@ -646,11 +644,9 @@ function! Test_VariableEval() \ } ) "Close - call win_execute( g:vimspector_session_windows.eval, 'call feedkeys( "\", ''xt'')') + call feedkeys( "\", '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!