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

@@ -62,8 +62,7 @@ describe('has()', function()
end)
it('"wsl"', function()
local luv = require('luv')
local is_wsl = luv.os_uname()['release']:lower():match('microsoft') and true or false
local is_wsl = vim.uv.os_uname()['release']:lower():match('microsoft') and true or false
if is_wsl then
eq(1, funcs.has('wsl'))
else