test: use vim.mpack and vim.uv directly

This commit is contained in:
Lewis Russell
2024-01-12 12:03:25 +00:00
parent 56a2ec5c79
commit 284e0ad26d
31 changed files with 150 additions and 176 deletions

View File

@@ -1,5 +1,4 @@
local helpers = require('test.functional.helpers')(after_each)
local luv = require('luv')
local mkdir = helpers.mkdir
local clear = helpers.clear
@@ -28,8 +27,8 @@ end)
after_each(function()
os.remove(fname)
os.remove(dfname)
luv.fs_rmdir(ddname)
luv.fs_rmdir(dname)
vim.uv.fs_rmdir(ddname)
vim.uv.fs_rmdir(dname)
end)
describe('writefile()', function()