mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00
Add new feature test.
This commit is contained in:
parent
ef7eddf1c5
commit
dcd9c52b4a
@ -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"
|
||||
|
@ -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*"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user