diff options
author | Lewis Russell <lewis6991@gmail.com> | 2023-06-03 11:06:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-03 12:06:00 +0200 |
commit | 2db719f6c2b677fcbc197b02fe52764a851523b2 (patch) | |
tree | 648885f655ea6eea2d6b5ad9409bc18c3b49e0f7 /test/functional/lua/overrides_spec.lua | |
parent | c65e2203f70cd5d66fcb8ffb26f8cef38f50e04f (diff) | |
download | rneovim-2db719f6c2b677fcbc197b02fe52764a851523b2.tar.gz rneovim-2db719f6c2b677fcbc197b02fe52764a851523b2.tar.bz2 rneovim-2db719f6c2b677fcbc197b02fe52764a851523b2.zip |
feat(lua): rename vim.loop -> vim.uv (#22846)
Diffstat (limited to 'test/functional/lua/overrides_spec.lua')
-rw-r--r-- | test/functional/lua/overrides_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/lua/overrides_spec.lua b/test/functional/lua/overrides_spec.lua index 68e2525151..0fd8cb2f6a 100644 --- a/test/functional/lua/overrides_spec.lua +++ b/test/functional/lua/overrides_spec.lua @@ -119,7 +119,7 @@ describe('print', function() exec_lua([[ local cmd = ... function test() - local timer = vim.loop.new_timer() + local timer = vim.uv.new_timer() local done = false timer:start(10, 0, function() print("very fast") @@ -130,7 +130,7 @@ describe('print', function() -- loop until we know for sure the callback has been executed while not done do os.execute(cmd) - vim.loop.run("nowait") -- fake os_breakcheck() + vim.uv.run("nowait") -- fake os_breakcheck() end print("very slow") vim.api.nvim_command("sleep 1m") -- force deferred event processing |