Skip to content

Commit

Permalink
spec_tests.py: don't keep line endings (for windows CI).
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed May 13, 2020
1 parent 76ddef4 commit abc45c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/spec_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def do_test(converter, test, normalize, result_counts):
out("Expected: " + repr(expected_html) + '\n')
out("Got: " + repr(actual_html) + '\n')
else:
expected_html_lines = expected_html.splitlines(True)
actual_html_lines = actual_html.splitlines(True)
expected_html_lines = expected_html.splitlines(False)
actual_html_lines = actual_html.splitlines(False)
for diffline in unified_diff(expected_html_lines, actual_html_lines,
"expected HTML", "actual HTML"):
out(diffline)
Expand Down

0 comments on commit abc45c5

Please sign in to comment.