diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-05-12 23:21:53 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-05-12 23:21:53 -0700 |
commit | 9e5209054ce3ba4cf7edc616e97d88de01983dd7 (patch) | |
tree | dd156003b7ad40ca5dd623c989c6b0f6b36e0aaf | |
parent | 54c990d17385156958556d86feca0c6e24da94e7 (diff) |
Revert "spec_tests.py: ignore line endings on diff."
This reverts commit 54c990d17385156958556d86feca0c6e24da94e7.
-rwxr-xr-x | test/spec_tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/spec_tests.py b/test/spec_tests.py index 1bfa188..1b00c90 100755 --- a/test/spec_tests.py +++ b/test/spec_tests.py @@ -60,11 +60,11 @@ 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 + '\n') + out(diffline) out('\n') result_counts['fail'] += 1 else: |