Skip to content

Commit 50ba619

Browse files
committed
test: fix tests
1 parent f78d8bf commit 50ba619

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

tests/core/plugin_spec.lua

+7-9
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,13 @@ describe("plugin spec opt", function()
113113
end)
114114

115115
it("refuses to merge", function()
116-
assert.has.errors(function()
117-
Plugin.Spec.new({
118-
{ "foo/dep1", config = 1 },
119-
{
120-
"foo/bar",
121-
dependencies = { { "foo/dep1", config = 2 }, "foo/dep2" },
122-
},
123-
})
124-
end)
116+
Plugin.Spec.new({
117+
{ "foo/dep1", config = 1 },
118+
{
119+
"foo/bar",
120+
dependencies = { { "foo/dep1", config = 2 }, "foo/dep2" },
121+
},
122+
})
125123
end)
126124

127125
-- it("recursive deps", function()

0 commit comments

Comments
 (0)