diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-07-03 20:42:15 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-07-03 20:42:35 -0700 |
commit | 5344fd51d25960dee6ef9f639bbccffd4fa4b3ed (patch) | |
tree | ad38bb9df386de7149ac9fb1d3d4a4bb0e59ba1a /test | |
parent | c16773cd5231c25b653e2ca16e6170f74882a6df (diff) |
spec_tests.py: Properly handle visible tab → in test expected output.
Diffstat (limited to 'test')
-rwxr-xr-x | test/spec_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/spec_tests.py b/test/spec_tests.py index 6c276ca..be11f12 100755 --- a/test/spec_tests.py +++ b/test/spec_tests.py @@ -6,8 +6,8 @@ from difflib import unified_diff import argparse import re import json -from normalize import normalize_html from cmark import CMark +from normalize import normalize_html if __name__ == "__main__": parser = argparse.ArgumentParser(description='Run cmark tests.') @@ -96,7 +96,7 @@ def get_tests(specfile): end_line = line_number tests.append({ "markdown":''.join(markdown_lines).replace('→',"\t"), - "html":''.join(html_lines), + "html":''.join(html_lines).replace('→',"\t"), "example": example_number, "start_line": start_line, "end_line": end_line, |