diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-05-12 23:09:51 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-05-12 23:09:51 -0700 |
commit | 9411fe7146a12d38e3fff194d9b885dacd9d6af2 (patch) | |
tree | dd156003b7ad40ca5dd623c989c6b0f6b36e0aaf | |
parent | abc45c57d368383eb05ca5fbb79d33b0370b419c (diff) |
Revert "spec_tests.py: don't keep line endings (for windows CI)."
This reverts commit abc45c57d368383eb05ca5fbb79d33b0370b419c.
-rwxr-xr-x | test/spec_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/spec_tests.py b/test/spec_tests.py index cefde04..1b00c90 100755 --- a/test/spec_tests.py +++ b/test/spec_tests.py @@ -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(False) - actual_html_lines = actual_html.splitlines(False) + expected_html_lines = expected_html.splitlines(True) + actual_html_lines = actual_html.splitlines(True) for diffline in unified_diff(expected_html_lines, actual_html_lines, "expected HTML", "actual HTML"): out(diffline) |