mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
3a542219f3
* Check the correct variable
* Fix table access
In every other use of _private.keybindings in this file, the key is a
string, not an awful.key
* Simplify code
key.key is always defined
* Add tests
* add(spec) add_keybinding unit test
* Revert "Add tests"
This reverts commit 808b17cd5c
.
Co-authored-by: Aire-One <aireone@aireone.xyz>
15 lines
526 B
Lua
15 lines
526 B
Lua
-- This script is given to Busted via the --helper argument. Modules loaded here
|
|
-- won't be cleared and reloaded by Busted. This is needed for lgi because lgi
|
|
-- is not safe to reload and yet Busted manages to do this.
|
|
require "lgi"
|
|
|
|
-- Always show deprecated messages
|
|
_G.awesome = {
|
|
version = "v9999",
|
|
api_level = 9999,
|
|
}
|
|
|
|
-- "fix" some intentional beautiful breakage done by .travis.yml
|
|
require("beautiful").init { a_key = "a_value" }
|
|
|
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|