mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
test: use vim.mpack and vim.uv directly
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
local luv = require('luv')
|
||||
local helpers = require('test.functional.helpers')(after_each)
|
||||
local clear = helpers.clear
|
||||
local eq = helpers.eq
|
||||
@@ -21,7 +20,7 @@ describe("'autochdir'", function()
|
||||
end)
|
||||
|
||||
it('is not overwritten by getwinvar() call #17609', function()
|
||||
local curdir = string.gsub(luv.cwd(), '\\', '/')
|
||||
local curdir = vim.uv.cwd():gsub('\\', '/')
|
||||
local dir_a = curdir .. '/Xtest-functional-options-autochdir.dir_a'
|
||||
local dir_b = curdir .. '/Xtest-functional-options-autochdir.dir_b'
|
||||
mkdir(dir_a)
|
||||
|
Reference in New Issue
Block a user