From 0dcc545f35a6170b534113448a0747b142f7a580 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Thu, 12 May 2016 01:18:12 -0400 Subject: [PATCH] tests: Update the miss handler test --- tests/test-miss-handlers.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test-miss-handlers.lua b/tests/test-miss-handlers.lua index fe61a8607..258cbb99f 100644 --- a/tests/test-miss-handlers.lua +++ b/tests/test-miss-handlers.lua @@ -4,6 +4,7 @@ local mouse = mouse local class = tag local obj = class({}) local handler = require("gears.object.properties") +local wibox = require("wibox") awesome.connect_signal("debug::index::miss", error) awesome.connect_signal("debug::newindex::miss", error) @@ -35,4 +36,8 @@ assert(obj.key == 1337) 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 })