From 115a151ac1fbf94f2487e2911c041978314eb795 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sat, 29 Feb 2020 19:47:20 -0500 Subject: [PATCH] tests: Add the awesome.api_level to the widget utils. --- spec/wibox/test_utils.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/wibox/test_utils.lua b/spec/wibox/test_utils.lua index 7a1167f3..a5bf5efd 100644 --- a/spec/wibox/test_utils.lua +++ b/spec/wibox/test_utils.lua @@ -10,6 +10,8 @@ local say = require("say") local assert = require("luassert") local no_parent = base.no_parent_I_know_what_I_am_doing +_G.awesome.api_level = 9999 + -- {{{ Own widget-based assertions local function widget_fit(state, arguments) if #arguments ~= 3 then