From abc45c57d368383eb05ca5fbb79d33b0370b419c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 12 May 2020 23:07:09 -0700 Subject: spec_tests.py: don't keep line endings (for windows CI). --- test/spec_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/spec_tests.py') diff --git a/test/spec_tests.py b/test/spec_tests.py index 1b00c90..cefde04 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(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) -- cgit v1.2.3