From 50ba619d9ed61d754acbd5344d28ac02c28a9387 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Tue, 20 Dec 2022 13:40:09 +0100 Subject: [PATCH] test: fix tests --- tests/core/plugin_spec.lua | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/tests/core/plugin_spec.lua b/tests/core/plugin_spec.lua index cf6ad8f..7973414 100644 --- a/tests/core/plugin_spec.lua +++ b/tests/core/plugin_spec.lua @@ -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()