mirror of
https://github.com/neovim/neovim.git
synced 2025-11-16 07:11:20 +00:00
test: use vim.mpack and vim.uv directly
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user