From 9ac7675c78a3e0dbc4d54896429a73022d22760a Mon Sep 17 00:00:00 2001 From: Marco Baringer Date: Wed, 10 Oct 2012 13:36:45 +0200 Subject: [PATCH] Added tests for mc/cycle-forward and mc/cycle-backward with their new looping behaviour --- features/multiple-cursors-core.feature | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/features/multiple-cursors-core.feature b/features/multiple-cursors-core.feature index 46d14bf..8d8fb65 100644 --- a/features/multiple-cursors-core.feature +++ b/features/multiple-cursors-core.feature @@ -158,3 +158,17 @@ Feature: Multiple cursors core contains twice """ + + Scenario: Looping forwards around cursors + Given I have cursors at "_" in "1_34567_9" + And I press "C-v" + And I press "C-v" + And I press "C-v" + Then the cursor should be at point "8" + + Scenario: Looping backwards around cursors + Given I have cursors at "_" in "1_34567_9" + And I press "M-v" + And I press "M-v" + Then the cursor should be at point "2" +