awesome/spec/awful
Grumph 3a542219f3
Fix awful.keygrabber:add_keybinding function (#3568)
* 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>
2022-05-29 13:10:29 -07:00
..
completion_spec.lua Check for correct ordering of completed items 2017-08-09 21:47:07 +02:00
keyboardlayout_spec.lua awful.button: Turn into an object. 2019-11-09 16:43:12 -05:00
keygrabber_spec.lua Fix awful.keygrabber:add_keybinding function (#3568) 2022-05-29 13:10:29 -07:00
permissions_spec.lua use user specified permission. 2020-03-08 05:04:40 -04:00
placement_spec.lua add test spec for placement 2020-02-13 00:26:01 -06:00
prompt_spec.lua test(spec: prompt): add for backspace, ^h, ^f, ^b and fix shim :wlen() implementation 2021-06-11 04:54:46 +02:00
screen_spec.lua tests: Add capi.screen.connect_signal to the spec 2019-04-15 15:20:38 -04:00