aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core/job_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/core/job_spec.lua
parentd33e1da9b7f7e886219cfdd20b9bbfaccdc43be9 (diff)
downloadrneovim-7a259d01aed52134a1675e47d9054ccad7ef7cbb.tar.gz
rneovim-7a259d01aed52134a1675e47d9054ccad7ef7cbb.tar.bz2
rneovim-7a259d01aed52134a1675e47d9054ccad7ef7cbb.zip
test: remove helpers.sleep()
Diffstat (limited to 'test/functional/core/job_spec.lua')
-rw-r--r--test/functional/core/job_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua
index 210007f027..e1baa6f48f 100644
--- a/test/functional/core/job_spec.lua
+++ b/test/functional/core/job_spec.lua
@@ -1177,7 +1177,7 @@ describe('jobs', function()
-- Have to wait so that the SIGHUP can be processed by tty-test on time.
-- Can't wait for the next message in case this test fails, if it fails
-- there won't be any more messages, and the test would hang.
- helpers.sleep(100)
+ vim.uv.sleep(100)
local err = exc_exec('call jobpid(j)')
eq('Vim(call):E900: Invalid channel id', err)