test: fix tests

This commit is contained in:
Folke Lemaitre 2022-12-20 13:40:09 +01:00
parent f78d8bf376
commit 50ba619d9e
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 7 additions and 9 deletions

View File

@ -113,15 +113,13 @@ describe("plugin spec opt", function()
end) end)
it("refuses to merge", function() it("refuses to merge", function()
assert.has.errors(function() Plugin.Spec.new({
Plugin.Spec.new({ { "foo/dep1", config = 1 },
{ "foo/dep1", config = 1 }, {
{ "foo/bar",
"foo/bar", dependencies = { { "foo/dep1", config = 2 }, "foo/dep2" },
dependencies = { { "foo/dep1", config = 2 }, "foo/dep2" }, },
}, })
})
end)
end) end)
-- it("recursive deps", function() -- it("recursive deps", function()