emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/multiple-cursors 238fb97 291/434: Add edge case scenarios


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors 238fb97 291/434: Add edge case scenarios which test behavior of mc/cycle-forward and mc/cycle-backward
Date: Sat, 7 Aug 2021 09:20:45 -0400 (EDT)

branch: elpa/multiple-cursors
commit 238fb970f9bda96ae7f8ac322c43f2436f2a5744
Author: Kouhei Yanagita <yanagi@shakenbu.org>
Commit: Kouhei Yanagita <yanagi@shakenbu.org>

    Add edge case scenarios which test behavior of mc/cycle-forward and 
mc/cycle-backward
---
 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 cd308cd..0a6e8b9 100644
--- a/features/multiple-cursors-core.feature
+++ b/features/multiple-cursors-core.feature
@@ -166,9 +166,23 @@ Feature: Multiple cursors core
     And I press "C-v"
     Then the cursor should be at point "8"
 
+  Scenario: Looping forwards around cursors including one at point-max
+    Given I have cursors at "_" in "1_34_67_"
+    And I press "C-f"
+    And I press "C-v"
+    And I press "C-v"
+    And I press "C-v"
+    Then the cursor should be at point "3"
+
   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"
 
+  Scenario: Looping backwards around cursors including one at point-min
+    Given I have cursors at "_" in "_234_67_9"
+    And I press "M-v"
+    And I press "M-v"
+    And I press "M-v"
+    Then the cursor should be at point "1"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]