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,10 +77,12 @@ describe("Extra", function()
it("it has no renamed plugins", function() it("it has no renamed plugins", function()
for _, p in pairs(spec.plugins) do for _, p in pairs(spec.plugins) do
local short_url = p[1] local short_url = p[1]
assert( if short_url then
not LazyVim.plugin.renames[short_url], assert(
"Plugin " .. short_url .. " has been renamed to " .. (LazyVim.plugin.renames[short_url] or "") not LazyVim.plugin.renames[short_url],
) "Plugin " .. short_url .. " has been renamed to " .. (LazyVim.plugin.renames[short_url] or "")
)
end
end end
end) end)