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

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

[nongnu] elpa/multiple-cursors dcd9c52 022/434: Add new feature test.


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors dcd9c52 022/434: Add new feature test.
Date: Sat, 7 Aug 2021 09:19:47 -0400 (EDT)

branch: elpa/multiple-cursors
commit dcd9c52b4a86812123dcae0dfe0e70141c1fb2b3
Author: Magnar Sveen <magnars@gmail.com>
Commit: Magnar Sveen <magnars@gmail.com>

    Add new feature test.
---
 features/mark-multiple-integration.feature | 11 +++++++++++
 features/support/env.el                    |  1 +
 2 files changed, 12 insertions(+)

diff --git a/features/mark-multiple-integration.feature 
b/features/mark-multiple-integration.feature
index cd3eca8..fd2b32c 100644
--- a/features/mark-multiple-integration.feature
+++ b/features/mark-multiple-integration.feature
@@ -11,3 +11,14 @@ Feature: Mark multiple integration
     And I press "C->"
     And I type "sentence"
     Then I should see "This sentence contains the word sentence twice"
+
+  Scenario: Mark two words and go to multiple cursors
+    Given there is no region selected
+    When I insert "This text contains the word text twice"
+    And I select "text"
+    And I press "C->"
+    And I press "C-g"
+    And I type "'"
+    And I press "C-f" 4 times
+    And I type "'"
+    Then I should see "This 'text' contains the word 'text' twice"
diff --git a/features/support/env.el b/features/support/env.el
index 6c5fe8e..686073d 100644
--- a/features/support/env.el
+++ b/features/support/env.el
@@ -14,6 +14,7 @@
 (require 'ert)
 
 (Before
+ (mm/clear-all)
  (global-set-key (kbd "C->") 'mark-next-like-this)
  (switch-to-buffer
   (get-buffer-create "*multiple-cursors*"))



reply via email to

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