mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00

* Fix issue #131 This issue would occur because the function was recieving a raw prefix arg instead of a number. This commit fixes that. * Fix issue with previous commit, add test cases
20 lines
778 B
Gherkin
20 lines
778 B
Gherkin
Feature: Insert increasing numbers
|
|
|
|
Scenario: Three cursors, 0-1-2
|
|
Given I have cursors at "text" in "This text contains the word text thrice (text)"
|
|
When I press "H-0"
|
|
And I press "SPC"
|
|
Then I should see "This 0 text contains the word 1 text thrice (2 text)"
|
|
|
|
Scenario: Three cursors, 9-10-11
|
|
Given I have cursors at "text" in "This text contains the word text thrice (text)"
|
|
When I press "C-9 H-0"
|
|
And I press "SPC"
|
|
Then I should see "This 9 text contains the word 10 text thrice (11 text)"
|
|
|
|
Scenario: Three cursors, 9-10-11
|
|
Given I have cursors at "text" in "This text contains the word text thrice (text)"
|
|
When I press "C-u H-0"
|
|
And I press "SPC"
|
|
Then I should see "This 4 text contains the word 5 text thrice (6 text)"
|