summaryrefslogtreecommitdiff
path: root/tests/end2end/features/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/end2end/features/conftest.py')
-rw-r--r--tests/end2end/features/conftest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/end2end/features/conftest.py b/tests/end2end/features/conftest.py
index 08e51b273..6511bdd96 100644
--- a/tests/end2end/features/conftest.py
+++ b/tests/end2end/features/conftest.py
@@ -697,6 +697,10 @@ def check_open_tabs(quteproc, request, expected_tabs):
normalize(line)
for line in expected_tabs
]
+ # Removed the hyphens from the start of lines so they don't get mixed in
+ # with the diff markers.
+ expected_tabs = [line.replace("- ", "") for line in expected_tabs]
+ actual = [line.replace("- ", "") for line in actual]
for idx, expected in enumerate(expected_tabs):
assert expected == actual[idx]