diff --git a/tests/core/plugin_spec.lua b/tests/core/plugin_spec.lua index cae8542..6df2e81 100644 --- a/tests/core/plugin_spec.lua +++ b/tests/core/plugin_spec.lua @@ -237,6 +237,7 @@ describe("plugin spec opt", function() local spec = Plugin.Spec.new(test) assert(#spec.notifs == 0) assert(vim.tbl_count(spec.plugins) == 1) + Plugin.values(spec.plugins.bar, "event", true) assert(type(spec.plugins.bar.event) == "table") assert(#spec.plugins.bar.event == 2) assert(vim.tbl_contains(spec.plugins.bar.event, "mod1")) @@ -299,6 +300,7 @@ describe("plugin spec opt", function() local spec = Plugin.Spec.new(test) assert(#spec.notifs == 0) assert(vim.tbl_count(spec.plugins) == 1) + Plugin.values(spec.plugins.bar, "event", true) assert(type(spec.plugins.bar.event) == "table") assert(#spec.plugins.bar.event == 2) assert(vim.tbl_contains(spec.plugins.bar.event, "mod1"))