From 29ea4ddba9aeedd69db224319ba074339406734a Mon Sep 17 00:00:00 2001 From: Aire-One Date: Fri, 1 Oct 2021 01:22:50 +0200 Subject: [PATCH] fix(spec) remove dead code Suggested by @sclu1034 --- spec/wibox/widget/template_spec.lua | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/spec/wibox/widget/template_spec.lua b/spec/wibox/widget/template_spec.lua index e913dc138..c13af4f3e 100644 --- a/spec/wibox/widget/template_spec.lua +++ b/spec/wibox/widget/template_spec.lua @@ -6,21 +6,8 @@ _G.awesome.connect_signal = function() end local template = require("wibox.widget.template") -local gtable = require("gears.table") local gtimer = require("gears.timer") -local function is_same_table_struture(state, arguments) -- luacheck: ignore unused argument state - return function(value) - return table.concat(gtable.keys(arguments[1])) == table.concat(gtable.keys(value)) - end -end - -assert:register( - "matcher", - "is_same_table_struture", - is_same_table_struture -) - describe("wibox.widget.template", function() local widget