mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 11:25:33 +00:00
test(fs): vim.loop was renamed to vim.uv (#24376)
test(fs): vim.loop has been replaced with vim.uv
This commit is contained in:
@@ -265,7 +265,7 @@ describe('tmpdir', function()
|
|||||||
|
|
||||||
before_each(function()
|
before_each(function()
|
||||||
-- Fake /tmp dir so that we can mess it up.
|
-- 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)
|
end)
|
||||||
|
|
||||||
after_each(function()
|
after_each(function()
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ describe('vim._watch', function()
|
|||||||
|
|
||||||
describe('watch', function()
|
describe('watch', function()
|
||||||
it('detects file changes', 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(
|
local result = exec_lua(
|
||||||
[[
|
[[
|
||||||
@@ -97,7 +97,7 @@ describe('vim._watch', function()
|
|||||||
|
|
||||||
describe('poll', function()
|
describe('poll', function()
|
||||||
it('detects file changes', 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(
|
local result = exec_lua(
|
||||||
[[
|
[[
|
||||||
|
|||||||
Reference in New Issue
Block a user