From 9411fe7146a12d38e3fff194d9b885dacd9d6af2 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 12 May 2020 23:09:51 -0700 Subject: Revert "spec_tests.py: don't keep line endings (for windows CI)." This reverts commit abc45c57d368383eb05ca5fbb79d33b0370b419c. --- test/spec_tests.py | 4 ++-- 1 file 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) -- cgit v1.2.3