deps_of_all_optional: add tests proving unneeded optional deps are now also discarded

This commit is contained in:
abeldekat 2023-07-21 14:15:34 +02:00
commit bba49c5ae4
2 changed files with 20 additions and 1 deletions

View file

@ -240,7 +240,7 @@ function Spec:fix_disabled()
end
end
-- fix deps of plugins that are all optional
-- fix deps of plugins that are completely optional
self:fix_dependencies(all_optional_deps, dep_of, function(dep_name)
self.plugins[dep_name] = nil
end)