branch: elpa/multiple-cursors
commit 45ed43e1f8a79d015c044b9ba659efdcc5507ae8
Author: Maciej Katafiasz <[email protected]>
Commit: Maciej Katafiasz <[email protected]>

    Test edit-lines functionality in 'mc/mark-all-dwim'
---
 features/mark-all-dwim.feature | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/features/mark-all-dwim.feature b/features/mark-all-dwim.feature
index d1674c2..a81ad92 100644
--- a/features/mark-all-dwim.feature
+++ b/features/mark-all-dwim.feature
@@ -70,6 +70,7 @@ Feature: Mark all do-what-I-mean
     """
     (defun abc (ghi) (message ghi))
     (defun def (ghi) (message some-other-ghi))
+
     """
     When I press "M-<"
     And I press "S-M->"
@@ -79,6 +80,7 @@ Feature: Mark all do-what-I-mean
     """
     (defun abc (xyz) (message xyz))
     (defun def (xyz) (message some-other-xyz))
+
     """
     When I press "C-g"
     And I go to the front of the word "xyz"
@@ -89,4 +91,16 @@ Feature: Mark all do-what-I-mean
     """
     (defun abc (foo) (message foo))
     (defun def (xyz) (message some-other-xyz))
+
+    """
+    When I press "C-g"
+    And I press "M-<"
+    And I press "S-M->"
+    And I press "C-u C-$"
+    And I type ";;"
+    Then I should see:
+    """
+    ;;(defun abc (foo) (message foo))
+    ;;(defun def (xyz) (message some-other-xyz))
+
     """

Reply via email to