From 3f3d9df324022f1054d895c7eaeee6fe4e284545 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Thu, 12 Jan 2023 13:13:45 +0100 Subject: [PATCH] test: fixed tests for `Plugin.opts` --- tests/core/plugin_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/plugin_spec.lua b/tests/core/plugin_spec.lua index d948817..2eaf349 100644 --- a/tests/core/plugin_spec.lua +++ b/tests/core/plugin_spec.lua @@ -311,7 +311,7 @@ describe("plugin opts", function() for _, test in ipairs(tests) do local spec = Plugin.Spec.new(test.spec) assert(spec.plugins.foo) - assert.same(test.opts, Loader.opts(spec.plugins.foo)) + assert.same(test.opts, Plugin.values(spec.plugins.foo, "opts")) end end) end)