Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 20, 2022
1 parent f78d8bf commit 50ba619
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions tests/core/plugin_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,13 @@ describe("plugin spec opt", function()
end)

it("refuses to merge", function()
assert.has.errors(function()
Plugin.Spec.new({
{ "foo/dep1", config = 1 },
{
"foo/bar",
dependencies = { { "foo/dep1", config = 2 }, "foo/dep2" },
},
})
end)
Plugin.Spec.new({
{ "foo/dep1", config = 1 },
{
"foo/bar",
dependencies = { { "foo/dep1", config = 2 }, "foo/dep2" },
},
})
end)

-- it("recursive deps", function()
Expand Down

0 comments on commit 50ba619

Please sign in to comment.