tests: Add the awesome.api_level to the widget utils.

This commit is contained in:
Emmanuel Lepage Vallee 2020-02-29 19:47:20 -05:00
parent 2cf64c5afd
commit 115a151ac1
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ local say = require("say")
local assert = require("luassert") local assert = require("luassert")
local no_parent = base.no_parent_I_know_what_I_am_doing local no_parent = base.no_parent_I_know_what_I_am_doing
_G.awesome.api_level = 9999
-- {{{ Own widget-based assertions -- {{{ Own widget-based assertions
local function widget_fit(state, arguments) local function widget_fit(state, arguments)
if #arguments ~= 3 then if #arguments ~= 3 then