Update CHANGED_KEY_COMMANDS and test_migrations for sk-keybinding.
This commit is contained in:
parent
a90314985a
commit
9b6541638e
@ -1735,4 +1735,5 @@ CHANGED_KEY_COMMANDS = [
|
|||||||
(re.compile(r'^set-cmd-text -s :search$'), r'set-cmd-text /'),
|
(re.compile(r'^set-cmd-text -s :search$'), r'set-cmd-text /'),
|
||||||
(re.compile(r'^set-cmd-text -s :search -r$'), r'set-cmd-text ?'),
|
(re.compile(r'^set-cmd-text -s :search -r$'), r'set-cmd-text ?'),
|
||||||
(re.compile(r'^set-cmd-text -s :$'), r'set-cmd-text :'),
|
(re.compile(r'^set-cmd-text -s :$'), r'set-cmd-text :'),
|
||||||
|
(re.compile(r'^set-cmd-text -s :set keybind$'), r'set-cmd-text -s :bind'),
|
||||||
]
|
]
|
||||||
|
@ -344,6 +344,7 @@ class TestKeyConfigParser:
|
|||||||
('set-cmd-text -s :search', 'set-cmd-text /'),
|
('set-cmd-text -s :search', 'set-cmd-text /'),
|
||||||
('set-cmd-text -s :search -r', 'set-cmd-text ?'),
|
('set-cmd-text -s :search -r', 'set-cmd-text ?'),
|
||||||
('set-cmd-text -s :', 'set-cmd-text :'),
|
('set-cmd-text -s :', 'set-cmd-text :'),
|
||||||
|
('set-cmd-text -s :set keybind', 'set-cmd-text -s :bind'),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
def test_migrations(self, old, new_expected):
|
def test_migrations(self, old, new_expected):
|
||||||
|
Loading…
Reference in New Issue
Block a user