tests: Mock capi.keygrabger

It will now run "static code" when the module is loaded, so need
to exist.
This commit is contained in:
Emmanuel Lepage Vallee 2018-07-22 16:10:46 -04:00
parent 7469e992ff
commit 980c47d775
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@ insulate('main', function ()
_G.awesome = { _G.awesome = {
connect_signal = function() end connect_signal = function() end
} }
_G.keygrabber = {
run = function() end,
stop = function() end,
}
-- luacheck: globals string -- luacheck: globals string
function string.wlen(self) function string.wlen(self)
return #self return #self