* 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
This commit is contained in:
jtamagnan
2016-04-27 22:33:15 -04:00
committed by Steve Purcell
parent da069c88e5
commit 6a62e60bf2
3 changed files with 17 additions and 3 deletions

View File

@@ -11,3 +11,9 @@ Feature: Insert increasing numbers
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)"