diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-01-12 11:41:09 +0000 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2024-01-12 12:04:19 +0000 |
commit | 7a259d01aed52134a1675e47d9054ccad7ef7cbb (patch) | |
tree | ae3741677b97f408e589d55a3f7e5b863d1e1b58 /test/functional/editor/K_spec.lua | |
parent | d33e1da9b7f7e886219cfdd20b9bbfaccdc43be9 (diff) | |
download | rneovim-7a259d01aed52134a1675e47d9054ccad7ef7cbb.tar.gz rneovim-7a259d01aed52134a1675e47d9054ccad7ef7cbb.tar.bz2 rneovim-7a259d01aed52134a1675e47d9054ccad7ef7cbb.zip |
test: remove helpers.sleep()
Diffstat (limited to 'test/functional/editor/K_spec.lua')
-rw-r--r-- | test/functional/editor/K_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/editor/K_spec.lua b/test/functional/editor/K_spec.lua index 92a00b28b6..1107de7984 100644 --- a/test/functional/editor/K_spec.lua +++ b/test/functional/editor/K_spec.lua @@ -36,7 +36,7 @@ describe('K', function() end) eq({ 'fnord' }, eval("readfile('" .. test_file .. "')")) -- Confirm that Neovim is still in terminal mode after K is pressed (#16692). - helpers.sleep(500) + vim.uv.sleep(500) eq('t', eval('mode()')) feed('<space>') -- Any key, not just <space>, can be used here to escape. eq('n', eval('mode()')) @@ -50,7 +50,7 @@ describe('K', function() -- Confirm that an arbitrary keypress doesn't escape (i.e., the process is -- still running). If the process were no longer running, an arbitrary -- keypress would escape. - helpers.sleep(500) + vim.uv.sleep(500) feed('<space>') eq('t', eval('mode()')) -- Confirm that <esc> kills the buffer for the running command. |