diff options
author | toofar <toofar@spalge.com> | 2024-01-30 20:55:50 +1300 |
---|---|---|
committer | pylbrecht <pylbrecht@mailbox.org> | 2024-02-07 20:22:21 +0100 |
commit | 273345bff8d6369fcaaebe4ec4bd8a6951f4c618 (patch) | |
tree | 087abc0f384803ccb11a8ff7c600d3b3cfd2b2e7 | |
parent | 52599ddbe968aa9626bbb1d3cacba0ce2011a0e0 (diff) | |
download | qutebrowser-273345bff8d6369fcaaebe4ec4bd8a6951f4c618.tar.gz qutebrowser-273345bff8d6369fcaaebe4ec4bd8a6951f4c618.zip |
Remove hyphens to make diff markers more clear
-rw-r--r-- | tests/end2end/features/conftest.py | 4 |
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] |