diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index 094cb404c..c246524f7 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -933,8 +933,8 @@ def data(readonly=False): ('find-implementation', SettingValue(typ.String( valid_values=typ.ValidValues( - ('javascript', "Better but slower"), - ('python', "Slightly worse but faster"), + ('javascript', "Better but slower"), + ('python', "Slightly worse but faster"), )), 'javascript'), "Which implementation to use to find elements to hint."), diff --git a/tests/end2end/features/hints.feature b/tests/end2end/features/hints.feature index 17773c77b..274804744 100644 --- a/tests/end2end/features/hints.feature +++ b/tests/end2end/features/hints.feature @@ -226,9 +226,9 @@ Feature: Using hints # https://github.com/The-Compiler/qutebrowser/issues/1559 Scenario: Filtering all hints in number mode - When I open data/hints/number.html - And I set hints -> mode to number - And I run :hint all - And I press the key "2" - And I wait for "Leaving mode KeyMode.hint (reason: all filtered)" in the log - Then no crash should happen + When I open data/hints/number.html + And I set hints -> mode to number + And I run :hint all + And I press the key "2" + And I wait for "Leaving mode KeyMode.hint (reason: all filtered)" in the log + Then no crash should happen diff --git a/tests/unit/utils/test_urlutils.py b/tests/unit/utils/test_urlutils.py index 80c8a9e70..a4b5d974f 100644 --- a/tests/unit/utils/test_urlutils.py +++ b/tests/unit/utils/test_urlutils.py @@ -336,9 +336,10 @@ def test_get_search_url_invalid(urlutils_config_stub, url): (False, True, False, '23.42'), # no DNS because bogus-IP (False, True, False, '1337'), # no DNS because bogus-IP (False, True, True, 'deadbeef'), + # no DNS because bogus-IP pytest.mark.xfail(qtutils.version_check('5.6.1'), reason='Qt behaviour changed')( - False, True, False, '31c3'), # no DNS because bogus-IP + False, True, False, '31c3'), (False, True, False, 'foo::bar'), # no DNS because of no host # Valid search term with autosearch (False, False, False, 'test foo'),