summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRyan Roden-Corrent <ryan@rcorre.net>2021-05-13 06:29:39 -0400
committerRyan Roden-Corrent <ryan@rcorre.net>2021-05-13 06:29:39 -0400
commita36efcf6b5b08666c2a65f8d2eef90eaba832fe6 (patch)
treea623b1d60a247e9a5f4a0eb69b4b6e759c1f30d2 /tests
parent7a0118119ef92adf1f68c6990ae5cac84aed3fec (diff)
downloadqutebrowser-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.py1
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"],