diff options
Diffstat (limited to 'tests/unit/config/test_config.py')
-rw-r--r-- | tests/unit/config/test_config.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/unit/config/test_config.py b/tests/unit/config/test_config.py index fdea792e1..61ce3c5d7 100644 --- a/tests/unit/config/test_config.py +++ b/tests/unit/config/test_config.py @@ -185,20 +185,20 @@ class TestKeyConfig: # Chained command ({'a': 'open foo ;; open bar'}, {'open foo': ['a'], 'open bar': ['a']}), - # Command using set-cmd-text (#5942) + # Command using cmd-set-text (#5942) ( { - "o": "set-cmd-text -s :open", - "O": "set-cmd-text -s :open -t", - "go": "set-cmd-text :open {url:pretty}", + "o": "cmd-set-text -s :open", + "O": "cmd-set-text -s :open -t", + "go": "cmd-set-text :open {url:pretty}", # all of these should be ignored - "/": "set-cmd-text /", - "?": "set-cmd-text ?", - ":": "set-cmd-text :", - "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", + "/": "cmd-set-text /", + "?": "cmd-set-text ?", + ":": "cmd-set-text :", + "a": "cmd-set-text no_leading_colon", + "b": "cmd-set-text -s -a :skip_cuz_append", + "c": "cmd-set-text --append :skip_cuz_append", + "x": "cmd-set-text", }, { "open": ["o"], @@ -253,7 +253,7 @@ class TestKeyConfig: config_stub.val.bindings.default = no_bindings config_stub.val.bindings.commands = no_bindings key_config_stub.bind(keyseq('a'), - 'set-cmd-text :nop ;; rl-beginning-of-line', + 'cmd-set-text :nop ;; rl-beginning-of-line', mode='normal') def test_bind_default(self, key_config_stub, config_stub): |