Update CHANGED_KEY_COMMANDS and test_migrations for sk-keybinding.

This commit is contained in:
arza 2016-09-01 21:05:44 +03:00
parent a90314985a
commit 9b6541638e
2 changed files with 2 additions and 0 deletions

View File

@ -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$'), 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'),
]

View File

@ -344,6 +344,7 @@ class TestKeyConfigParser:
('set-cmd-text -s :search', 'set-cmd-text /'),
('set-cmd-text -s :search -r', '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):