cmark

My personal build of CMark ✏️

Commit
abc45c57d368383eb05ca5fbb79d33b0370b419c
Parent
76ddef4b1bb6d95bb77d267e76d5647e68c8aae2
Author
John MacFarlane <jgm@berkeley.edu>
Date

spec_tests.py: don't keep line endings (for windows CI).

Diffstat

1 file changed, 2 insertions, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified test/spec_tests.py 4 2 2
diff --git 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)