Encode slashes in default search engine test

This commit is contained in:
Thorsten Wißmann 2018-11-22 13:31:39 +01:00 committed by Florian Bruhin
parent 65c51931c7
commit 9d069ea12b

View File

@ -187,10 +187,10 @@ Feature: Yanking and pasting.
http://qutebrowser.org
should not open
And I run :open -t {clipboard}
And I wait until data/hello.txt?q=this%20url%3A%0Ahttp%3A//qutebrowser.org%0Ashould%20not%20open is loaded
And I wait until data/hello.txt?q=this%20url%3A%0Ahttp%3A%2F%2Fqutebrowser.org%0Ashould%20not%20open is loaded
Then the following tabs should be open:
- about:blank
- data/hello.txt?q=this%20url%3A%0Ahttp%3A//qutebrowser.org%0Ashould%20not%20open (active)
- data/hello.txt?q=this%20url%3A%0Ahttp%3A%2F%2Fqutebrowser.org%0Ashould%20not%20open (active)
Scenario: Pasting multiline whose first line looks like a URI
When I set url.auto_search to naive