aboutsummaryrefslogtreecommitdiff
path: root/test/functional/editor/completion_spec.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-01-12 11:41:09 +0000
committerLewis Russell <lewis6991@gmail.com>2024-01-12 12:04:19 +0000
commit7a259d01aed52134a1675e47d9054ccad7ef7cbb (patch)
treeae3741677b97f408e589d55a3f7e5b863d1e1b58 /test/functional/editor/completion_spec.lua
parentd33e1da9b7f7e886219cfdd20b9bbfaccdc43be9 (diff)
downloadrneovim-7a259d01aed52134a1675e47d9054ccad7ef7cbb.tar.gz
rneovim-7a259d01aed52134a1675e47d9054ccad7ef7cbb.tar.bz2
rneovim-7a259d01aed52134a1675e47d9054ccad7ef7cbb.zip
test: remove helpers.sleep()
Diffstat (limited to 'test/functional/editor/completion_spec.lua')
-rw-r--r--test/functional/editor/completion_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/editor/completion_spec.lua b/test/functional/editor/completion_spec.lua
index fbb63fdba6..c13222bd7a 100644
--- a/test/functional/editor/completion_spec.lua
+++ b/test/functional/editor/completion_spec.lua
@@ -691,7 +691,7 @@ describe('completion', function()
]])
-- Works for unindenting too.
feed('ounin<C-X><C-N>')
- helpers.poke_eventloop()
+ poke_eventloop()
feed('<BS>d')
screen:expect([[
inc uninc indent unindent |
@@ -1067,7 +1067,7 @@ describe('completion', function()
{3:-- }{4:match 1 of 3} |
]])
command([[call timer_start(100, { -> execute('stopinsert') })]])
- helpers.sleep(200)
+ vim.uv.sleep(200)
feed('k') -- cursor should move up in Normal mode
screen:expect([[
hello |