aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/watch_spec.lua
diff options
context:
space:
mode:
authorkylo252 <59826753+kylo252@users.noreply.github.com>2023-07-17 13:27:55 +0200
committerGitHub <noreply@github.com>2023-07-17 19:27:55 +0800
commit98b22867c33a45aaaf057afbeda8acb0216494e3 (patch)
tree1ce0d5d2c3a50e32ba1d6ffdd05573f33d53c8b7 /test/functional/lua/watch_spec.lua
parentb60a2ab4cb7bb7d86dcda1dfe2396a9eda384e35 (diff)
downloadrneovim-98b22867c33a45aaaf057afbeda8acb0216494e3.tar.gz
rneovim-98b22867c33a45aaaf057afbeda8acb0216494e3.tar.bz2
rneovim-98b22867c33a45aaaf057afbeda8acb0216494e3.zip
test(fs): vim.loop was renamed to vim.uv (#24376)
test(fs): vim.loop has been replaced with vim.uv
Diffstat (limited to 'test/functional/lua/watch_spec.lua')
-rw-r--r--test/functional/lua/watch_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/lua/watch_spec.lua b/test/functional/lua/watch_spec.lua
index d802a955fa..ee31975063 100644
--- a/test/functional/lua/watch_spec.lua
+++ b/test/functional/lua/watch_spec.lua
@@ -11,7 +11,7 @@ describe('vim._watch', function()
describe('watch', function()
it('detects file changes', function()
- local root_dir = vim.loop.fs_mkdtemp(vim.fs.dirname(helpers.tmpname()) .. '/nvim_XXXXXXXXXX')
+ local root_dir = vim.uv.fs_mkdtemp(vim.fs.dirname(helpers.tmpname()) .. '/nvim_XXXXXXXXXX')
local result = exec_lua(
[[
@@ -97,7 +97,7 @@ describe('vim._watch', function()
describe('poll', function()
it('detects file changes', function()
- local root_dir = vim.loop.fs_mkdtemp(vim.fs.dirname(helpers.tmpname()) .. '/nvim_XXXXXXXXXX')
+ local root_dir = vim.uv.fs_mkdtemp(vim.fs.dirname(helpers.tmpname()) .. '/nvim_XXXXXXXXXX')
local result = exec_lua(
[[