Added tests for mc/cycle-forward and mc/cycle-backward with their new looping behaviour

This commit is contained in:
Marco Baringer 2012-10-10 13:36:45 +02:00
parent 3f20fc15a7
commit 9ac7675c78

View File

@ -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"