From 7bfa46fb501ec5bdded9355d2eab762337394962 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sat, 6 Aug 2016 20:36:13 -0400 Subject: [PATCH] Add tests for yank migrations --- tests/unit/config/test_config.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/unit/config/test_config.py b/tests/unit/config/test_config.py index a6ad3d119..f2a6a79f1 100644 --- a/tests/unit/config/test_config.py +++ b/tests/unit/config/test_config.py @@ -286,6 +286,17 @@ class TestKeyConfigParser: 'hint links fill :open {hint-url}'), ('hint links fill ":open -t {hint-url}"', 'hint links fill :open -t {hint-url}'), + + ('yank-selected', 'yank selection'), + ('yank-selected --sel', 'yank selection --sel'), + ('yank-selected -p', 'yank selection -s'), + + ('yank -t', 'yank title'), + ('yank -ts', 'yank title -s'), + ('yank -d', 'yank domain'), + ('yank -ds', 'yank domain -s'), + ('yank -p', 'yank pretty-url'), + ('yank -ps', 'yank pretty-url -s'), ] ) def test_migrations(self, old, new_expected):