Skip to content

Commit b2437f2

Browse files
committed
test: use vim.uv if available
1 parent 8f93e59 commit b2437f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/minimal_init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ end
99
function M.load(plugin)
1010
local name = plugin:match(".*/(.*)")
1111
local package_root = M.root(".tests/site/pack/deps/start/")
12-
if not vim.loop.fs_stat(package_root .. name) then
12+
if not (vim.uv or vim.loop).fs_stat(package_root .. name) then
1313
print("Installing " .. plugin)
1414
vim.fn.mkdir(package_root, "p")
1515
vim.fn.system({

0 commit comments

Comments
 (0)