Add a test for leading arguments

This commit is contained in:
Jay Kamat 2018-04-01 20:49:09 -04:00
parent 423192e9c9
commit 9ad6cef369
No known key found for this signature in database
GPG Key ID: 5D2E399600F4F7B5
2 changed files with 7 additions and 0 deletions

View File

@ -16,6 +16,7 @@
BAZ<br/>
space travel<br/>
/slash<br/>
-r reversed<br/>
<a class="toselect" href="hello.txt">follow me!</a><br/>
</p>
</body>

View File

@ -45,6 +45,12 @@ Feature: Searching on a page
And I wait for "search found /slash" in the log
Then "/slash" should be found
Scenario: Searching with arguments at start of search term
When I run :set-cmd-text -s /-r reversed
And I run :command-accept
And I wait for "search found -r reversed" in the log
Then "-r reversed" should be found
# This doesn't work because this is QtWebKit behavior.
@xfail_norun
Scenario: Searching text with umlauts