test(extras): handle plugins using url instead of short format

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Folke Lemaitre
2026-03-01 10:04:26 +01:00
parent 27824d79a9
commit ecd31f844e

View File

@@ -77,11 +77,13 @@ describe("Extra", function()
it("it has no renamed plugins", function()
for _, p in pairs(spec.plugins) do
local short_url = p[1]
if short_url then
assert(
not LazyVim.plugin.renames[short_url],
"Plugin " .. short_url .. " has been renamed to " .. (LazyVim.plugin.renames[short_url] or "")
)
end
end
end)
local lspconfig = spec.plugins["nvim-lspconfig"]