We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9161735 commit 8889264Copy full SHA for 8889264
tests/test_main.py
@@ -270,8 +270,10 @@ def test_main_head_request(capsys):
270
# which makes tests fail on different remote CI testing services
271
for x, line in enumerate(res_string_list):
272
# treat top two lines of the diff as comparison of first 10 chars only
273
- if x in (0, 1):
274
- assert "tests/testfiles/Roboto-Regular.subset" in line
+ if x == 0:
+ assert line.startswith("---")
275
+ elif x == 1:
276
+ assert line.startswith("+++")
277
elif x == 2:
278
assert line == "@@ -4,34 +4,34 @@"
279
elif x == 3:
0 commit comments