From 8b91a74aefd3799445ec82f99f9cfe4dc406c94a Mon Sep 17 00:00:00 2001 From: Luca Benci Date: Sun, 22 Oct 2017 20:02:06 +0200 Subject: [PATCH] Fix broken test after default config change --- tests/unit/config/test_configcommands.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/unit/config/test_configcommands.py b/tests/unit/config/test_configcommands.py index 1841e6260..a44327bd2 100644 --- a/tests/unit/config/test_configcommands.py +++ b/tests/unit/config/test_configcommands.py @@ -60,8 +60,9 @@ class TestSet: @pytest.mark.parametrize('option, old_value, inp, new_value', [ ('url.auto_search', 'naive', 'dns', 'dns'), # https://github.com/qutebrowser/qutebrowser/issues/2962 - ('editor.command', ['gvim', '-f', '{}'], '[emacs, "{}"]', - ['emacs', '{}']), + ('editor.command', + ['gvim', '-f', '{file}', '-c', 'normal {line}G{column0}l'], + '[emacs, "{}"]', ['emacs', '{}']), ]) def test_set_simple(self, monkeypatch, commands, config_stub, temp, option, old_value, inp, new_value):