Stabilize hint test which failed on macOS

This commit is contained in:
Florian Bruhin 2017-09-13 14:34:27 +02:00
parent ad2598b475
commit 8c4bc76de6
2 changed files with 3 additions and 0 deletions

View File

@ -792,6 +792,8 @@ class HintManager(QObject):
else:
self._context.filterstr = filterstr
log.hints.debug("Filtering hints on {!r}".format(filterstr))
visible = []
for label in self._context.all_labels:
try:

View File

@ -296,6 +296,7 @@ Feature: Using hints
And I set hints.mode to number
And I hint with args "all"
And I press the key "s"
And I wait for "Filtering hints on 's'" in the log
And I run :follow-hint 1
Then data/numbers/7.txt should be loaded