mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
build: bundle uncrustify
Uncrustify is sensitive to version changes, which causes friction for contributors that doesn't have that exact version. It's also simpler to download and install the correct version than to have bespoke version checking.
This commit is contained in:
@@ -223,7 +223,7 @@ describe('vim.fs', function()
|
||||
|
||||
describe('find()', function()
|
||||
it('works', function()
|
||||
eq({test_build_dir}, exec_lua([[
|
||||
eq({test_build_dir .. "/build"}, exec_lua([[
|
||||
local dir = ...
|
||||
return vim.fs.find('build', { path = dir, upward = true, type = 'directory' })
|
||||
]], nvim_dir))
|
||||
@@ -239,7 +239,7 @@ describe('vim.fs', function()
|
||||
end)
|
||||
|
||||
it('accepts predicate as names', function()
|
||||
eq({test_build_dir}, exec_lua([[
|
||||
eq({test_build_dir .. "/build"}, exec_lua([[
|
||||
local dir = ...
|
||||
local opts = { path = dir, upward = true, type = 'directory' }
|
||||
return vim.fs.find(function(x) return x == 'build' end, opts)
|
||||
|
Reference in New Issue
Block a user