summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-05-12 23:07:09 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-05-12 23:07:09 -0700
commitabc45c57d368383eb05ca5fbb79d33b0370b419c (patch)
tree57095a4fe02bb440e9734df1b3452c66856b424c /test
parent76ddef4b1bb6d95bb77d267e76d5647e68c8aae2 (diff)
spec_tests.py: don't keep line endings (for windows CI).
Diffstat (limited to 'test')
-rwxr-xr-xtest/spec_tests.py4
1 files changed, 2 insertions, 2 deletions
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)