fix(spec) remove dead code

Suggested by @sclu1034
This commit is contained in:
Aire-One 2021-10-01 01:22:50 +02:00 committed by Emmanuel Lepage Vallee
parent b824d99c05
commit 29ea4ddba9
1 changed files with 0 additions and 13 deletions

View File

@ -6,21 +6,8 @@
_G.awesome.connect_signal = function() end _G.awesome.connect_signal = function() end
local template = require("wibox.widget.template") local template = require("wibox.widget.template")
local gtable = require("gears.table")
local gtimer = require("gears.timer") 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() describe("wibox.widget.template", function()
local widget local widget