Add test for multi-word matching

This commit is contained in:
Florian Bruhin 2016-06-07 14:24:53 +02:00
parent e4d5b550a3
commit ca88b7a1cf
2 changed files with 12 additions and 0 deletions

View File

@ -14,6 +14,7 @@
<ul>
<li>#308 - Renumber hints when filtering them in number mode.</li>
<li>#576 - Keep hint filtering when rapid hinting in number mode</li>
<li>#674 (comment) - Multi-word matching for hints </li>
</ul>
</p>
@ -28,6 +29,7 @@
<li><a href="/data/numbers/8.txt">eight</a></li>
<li><a href="/data/numbers/9.txt">nine</a></li>
<li><a href="/data/numbers/10.txt">ten</a></li>
<li><a href="/data/numbers/11.txt">tenorhorn posaune (eleven)</a></li>
</ul>
</body>
</html>

View File

@ -200,3 +200,13 @@ Feature: Using hints
And I press the key "<Backspace>"
And I run :follow-hint 11
Then the error "No hint 11!" should be shown
# https://github.com/The-Compiler/qutebrowser/issues/674#issuecomment-165096744
Scenario: Multi-word matching
When I open data/hints/number.html
And I set hints -> mode to number
And I set hints -> auto-follow to true
And I set hints -> auto-follow-timeout to 0
And I run :hint all
And I press the keys "ten pos"
Then data/numbers/11.txt should be loaded