diff options
author | Ryan Roden-Corrent <ryan@rcorre.net> | 2021-05-13 06:29:39 -0400 |
---|---|---|
committer | Ryan Roden-Corrent <ryan@rcorre.net> | 2021-05-13 06:29:39 -0400 |
commit | a36efcf6b5b08666c2a65f8d2eef90eaba832fe6 (patch) | |
tree | a623b1d60a247e9a5f4a0eb69b4b6e759c1f30d2 /tests | |
parent | 7a0118119ef92adf1f68c6990ae5cac84aed3fec (diff) | |
download | qutebrowser-a36efcf6b5b08666c2a65f8d2eef90eaba832fe6.tar.gz qutebrowser-a36efcf6b5b08666c2a65f8d2eef90eaba832fe6.zip |
Fix crash in cmd completion for set-cmd-text.
2c4bb064e introduced support for showing bindings in the completion menu
for commands initiated with set-cmd-text. This would crash if given a
binding for just 'set-cmd-text' with no args.
Fixes #6453.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/config/test_config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/config/test_config.py b/tests/unit/config/test_config.py index dd6ef54fa..b88bc2f8d 100644 --- a/tests/unit/config/test_config.py +++ b/tests/unit/config/test_config.py @@ -211,6 +211,7 @@ class TestKeyConfig: "a": "set-cmd-text no_leading_colon", "b": "set-cmd-text -s -a :skip_cuz_append", "c": "set-cmd-text --append :skip_cuz_append", + "x": "set-cmd-text", }, { "open": ["o"], |