summaryrefslogtreecommitdiff
path: root/tests/end2end/test_invocations.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/end2end/test_invocations.py')
-rw-r--r--tests/end2end/test_invocations.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/end2end/test_invocations.py b/tests/end2end/test_invocations.py
index b4a343a37..a4ac654f4 100644
--- a/tests/end2end/test_invocations.py
+++ b/tests/end2end/test_invocations.py
@@ -248,7 +248,8 @@ def test_version(request):
assert ok
assert proc.exitStatus() == QProcess.NormalExit
- assert re.search(r'^qutebrowser\s+v\d+(\.\d+)', stdout) is not None
+ match = re.search(r'^qutebrowser\s+v\d+(\.\d+)', stdout, re.MULTILINE)
+ assert match is not None
def test_qt_arg(request, quteproc_new, tmpdir):