tests: Mock capi.keygrabger
It will now run "static code" when the module is loaded, so need to exist.
This commit is contained in:
parent
7469e992ff
commit
980c47d775
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue