mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00
Added tests for mc/cycle-forward and mc/cycle-backward with their new looping behaviour
This commit is contained in:
parent
3f20fc15a7
commit
9ac7675c78
@ -158,3 +158,17 @@ Feature: Multiple cursors core
|
|||||||
contains
|
contains
|
||||||
twice
|
twice
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Scenario: Looping forwards around cursors
|
||||||
|
Given I have cursors at "_" in "1_34567_9"
|
||||||
|
And I press "C-v"
|
||||||
|
And I press "C-v"
|
||||||
|
And I press "C-v"
|
||||||
|
Then the cursor should be at point "8"
|
||||||
|
|
||||||
|
Scenario: Looping backwards around cursors
|
||||||
|
Given I have cursors at "_" in "1_34567_9"
|
||||||
|
And I press "M-v"
|
||||||
|
And I press "M-v"
|
||||||
|
Then the cursor should be at point "2"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user