mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
test: replace lfs with luv and vim.fs
test: replace lfs with luv luv already pretty much does everything lfs does, so this duplication of dependencies isn't needed.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
local helpers = require('test.functional.helpers')(after_each)
|
||||
local Screen = require('test.functional.ui.screen')
|
||||
local lfs = require('lfs')
|
||||
local luv = require('luv')
|
||||
|
||||
local fmt = string.format
|
||||
@@ -4193,7 +4192,7 @@ describe('API', function()
|
||||
vim.api.nvim_echo({{ opts.fargs[1] }}, false, {})
|
||||
end, { nargs = 1 })
|
||||
]])
|
||||
eq(lfs.currentdir(),
|
||||
eq(luv.cwd(),
|
||||
meths.cmd({ cmd = "Foo", args = { '%:p:h' }, magic = { file = true } },
|
||||
{ output = true }))
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user