mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +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,6 @@
|
||||
local helpers = require('test.functional.helpers')(after_each)
|
||||
local Screen = require('test.functional.ui.screen')
|
||||
local lfs = require('lfs')
|
||||
local luv = require('luv')
|
||||
local neq, eq, command = helpers.neq, helpers.eq, helpers.command
|
||||
local clear, curbufmeths = helpers.clear, helpers.curbufmeths
|
||||
local exc_exec, expect, eval = helpers.exc_exec, helpers.expect, helpers.eval
|
||||
@@ -118,7 +118,7 @@ describe('eval-API', function()
|
||||
end)
|
||||
|
||||
it('are highlighted by vim.vim syntax file', function()
|
||||
if lfs.attributes("build/runtime/syntax/vim/generated.vim",'uid') == nil then
|
||||
if luv.fs_stat("build/runtime/syntax/vim/generated.vim").uid == nil then
|
||||
pending("runtime was not built, skipping test")
|
||||
return
|
||||
end
|
||||
|
Reference in New Issue
Block a user