From bac22629e3974c5fa06433d41a33d890e27f5208 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Fri, 30 Sep 2016 09:15:05 +0200 Subject: [PATCH] test for yanking queries with both '&' and ';' --- tests/end2end/features/yankpaste.feature | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/end2end/features/yankpaste.feature b/tests/end2end/features/yankpaste.feature index 0bb11204d..bc9bc7ab6 100644 --- a/tests/end2end/features/yankpaste.feature +++ b/tests/end2end/features/yankpaste.feature @@ -69,6 +69,12 @@ Feature: Yanking and pasting. Then the message "Yanked URL to clipboard: http://localhost:(port)/data/title.html?a=b;c=d" should be shown And the clipboard should contain "http://localhost:(port)/data/title.html?a=b;c=d" + Scenario: Yanking URL with both & and ; in its query string + When I open data/title.html?a;b&c=d + And I run :yank + Then the message "Yanked URL to clipboard: http://localhost:(port)/data/title.html?a;b&c=d" should be shown + And the clipboard should contain "http://localhost:(port)/data/title.html?a;b&c=d" + #### {clipboard} and {primary} Scenario: Pasting a URL