Add awesome.version to globals for tests. Will always show util.deprecate output
This commit is contained in:
parent
edd9415df6
commit
7f6763fb00
|
@ -3,6 +3,9 @@
|
||||||
-- is not safe to reload and yet Busted manages to do this.
|
-- is not safe to reload and yet Busted manages to do this.
|
||||||
require("lgi")
|
require("lgi")
|
||||||
|
|
||||||
|
-- Always show deprecated messages
|
||||||
|
_G.awesome = {version = "v9999"}
|
||||||
|
|
||||||
-- "fix" some intentional beautiful breakage done by .travis.yml
|
-- "fix" some intentional beautiful breakage done by .travis.yml
|
||||||
require("beautiful").init{}
|
require("beautiful").init{}
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,9 @@ awesome.startup = true
|
||||||
function awesome.register_xproperty()
|
function awesome.register_xproperty()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Always show deprecated messages
|
||||||
|
awesome.version = "v9999"
|
||||||
|
|
||||||
return awesome
|
return awesome
|
||||||
|
|
||||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||||
|
|
Loading…
Reference in New Issue