diff options
author | kylo252 <59826753+kylo252@users.noreply.github.com> | 2023-07-17 13:27:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-17 19:27:55 +0800 |
commit | 98b22867c33a45aaaf057afbeda8acb0216494e3 (patch) | |
tree | 1ce0d5d2c3a50e32ba1d6ffdd05573f33d53c8b7 | |
parent | b60a2ab4cb7bb7d86dcda1dfe2396a9eda384e35 (diff) | |
download | rneovim-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
-rw-r--r-- | test/functional/core/fileio_spec.lua | 2 | ||||
-rw-r--r-- | test/functional/lua/watch_spec.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/core/fileio_spec.lua b/test/functional/core/fileio_spec.lua index 27a32ce6f8..d1236f2766 100644 --- a/test/functional/core/fileio_spec.lua +++ b/test/functional/core/fileio_spec.lua @@ -265,7 +265,7 @@ describe('tmpdir', function() before_each(function() -- Fake /tmp dir so that we can mess it up. - os_tmpdir = vim.loop.fs_mkdtemp(vim.fs.dirname(helpers.tmpname()) .. '/nvim_XXXXXXXXXX') + os_tmpdir = vim.uv.fs_mkdtemp(vim.fs.dirname(helpers.tmpname()) .. '/nvim_XXXXXXXXXX') end) after_each(function() 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( [[ |