Fixes wrong indentation in multiline clipboard text

This commit is contained in:
Tarcisio Fedrizzi 2016-01-12 11:25:14 +01:00
parent 524341fd7a
commit 5917bbbe5c

View File

@ -107,11 +107,10 @@ Feature: Yanking and pasting.
Scenario: Pasting multiple urls in a new tab
Given I have a fresh instance
When I run :tab-only
And I put the following lines into the clipboard:
http://localhost:(port)/data/hello.txt
http://localhost:(port)/data/hello2.txt
http://localhost:(port)/data/hello3.txt
When I put the following lines into the clipboard:
http://localhost:(port)/data/hello.txt
http://localhost:(port)/data/hello2.txt
http://localhost:(port)/data/hello3.txt
And I run :paste -t
And I wait until data/hello.txt is loaded
And I wait until data/hello2.txt is loaded
@ -126,9 +125,9 @@ Feature: Yanking and pasting.
Given I open about:blank
When I run :tab-only
And I put the following lines into the clipboard:
http://localhost:(port)/data/hello.txt
http://localhost:(port)/data/hello2.txt
http://localhost:(port)/data/hello3.txt
http://localhost:(port)/data/hello.txt
http://localhost:(port)/data/hello2.txt
http://localhost:(port)/data/hello3.txt
And I run :paste -b
And I wait until data/hello.txt is loaded
And I wait until data/hello2.txt is loaded
@ -142,9 +141,9 @@ Feature: Yanking and pasting.
Scenario: Pasting multiple urls in new windows
Given I have a fresh instance
When I put the following lines into the clipboard:
http://localhost:(port)/data/hello.txt
http://localhost:(port)/data/hello2.txt
http://localhost:(port)/data/hello3.txt
http://localhost:(port)/data/hello.txt
http://localhost:(port)/data/hello2.txt
http://localhost:(port)/data/hello3.txt
And I run :paste -w
And I wait until data/hello.txt is loaded
And I wait until data/hello2.txt is loaded