mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-21 20:11:06 +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:
parent
27824d79a9
commit
ecd31f844e
1 changed files with 6 additions and 4 deletions
|
|
@ -77,10 +77,12 @@ describe("Extra", function()
|
|||
it("it has no renamed plugins", function()
|
||||
for _, p in pairs(spec.plugins) do
|
||||
local short_url = p[1]
|
||||
assert(
|
||||
not LazyVim.plugin.renames[short_url],
|
||||
"Plugin " .. short_url .. " has been renamed to " .. (LazyVim.plugin.renames[short_url] or "")
|
||||
)
|
||||
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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue