mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-03-10 01:17:25 +00:00
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:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user