tests: Update the miss handler test
This commit is contained in:
parent
129b3b1d50
commit
0dcc545f35
|
@ -4,6 +4,7 @@ local mouse = mouse
|
||||||
local class = tag
|
local class = tag
|
||||||
local obj = class({})
|
local obj = class({})
|
||||||
local handler = require("gears.object.properties")
|
local handler = require("gears.object.properties")
|
||||||
|
local wibox = require("wibox")
|
||||||
|
|
||||||
awesome.connect_signal("debug::index::miss", error)
|
awesome.connect_signal("debug::index::miss", error)
|
||||||
awesome.connect_signal("debug::newindex::miss", error)
|
awesome.connect_signal("debug::newindex::miss", error)
|
||||||
|
@ -35,4 +36,8 @@ assert(obj.key == 1337)
|
||||||
mouse.foo = "bar"
|
mouse.foo = "bar"
|
||||||
assert(mouse.foo == "bar")
|
assert(mouse.foo == "bar")
|
||||||
|
|
||||||
|
local w = wibox()
|
||||||
|
w.foo = "bar"
|
||||||
|
assert(w.foo == "bar")
|
||||||
|
|
||||||
require("_runner").run_steps({ function() return true end })
|
require("_runner").run_steps({ function() return true end })
|
||||||
|
|
Loading…
Reference in New Issue