aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/state_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/vimscript/state_spec.lua')
-rw-r--r--test/functional/vimscript/state_spec.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/vimscript/state_spec.lua b/test/functional/vimscript/state_spec.lua
index dcff3c8d7e..fd38a8ad5b 100644
--- a/test/functional/vimscript/state_spec.lua
+++ b/test/functional/vimscript/state_spec.lua
@@ -29,6 +29,7 @@ describe('state() function', function()
exec([[
call setline(1, ['one', 'two', 'three'])
map ;; gg
+ set complete=.
func RunTimer()
call timer_start(0, {id -> v:lua.Get_state_mode()})
endfunc
@@ -51,7 +52,7 @@ describe('state() function', function()
eq({ 'mS', 'n' }, exec_lua('return _G.res'))
-- Insert mode completion
- feed([[:call RunTimer()<CR>Got<C-X><C-N>]])
+ feed([[:call RunTimer()<CR>Got<C-N>]])
poke_eventloop() -- Allow polling for events
feed('<Esc>')
eq({ 'aSc', 'i' }, exec_lua('return _G.res'))