From b1bf75f069a51ffc0360b2a301047ca65d2c298b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 6 Jan 2016 22:13:09 +0100 Subject: [PATCH] bdd: Add a test for :drop-selection. --- tests/integration/features/caret.feature | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/integration/features/caret.feature b/tests/integration/features/caret.feature index 79faae189..87d3ebd3e 100644 --- a/tests/integration/features/caret.feature +++ b/tests/integration/features/caret.feature @@ -258,3 +258,12 @@ Feature: Caret mode Then the message "3 chars yanked to clipboard" should be shown. And the message "7 chars yanked to clipboard" should be shown. And the clipboard should contain "one two" + + # :drop-selection + + Scenario: :drop-selection + When I run :toggle-selection + And I run :move-to-end-of-word + And I run :drop-selection + And I run :yank-selected + Then the message "Nothing to yank" should be shown.