branch: elpa/multiple-cursors
commit 9ac7675c78a3e0dbc4d54896429a73022d22760a
Author: Marco Baringer <[email protected]>
Commit: Marco Baringer <[email protected]>
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"
+