summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-27 13:43:01 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-27 13:43:01 -0800
commit572608d158772cef6562b8c34f370fff98855174 (patch)
tree8540fdb082d0c02ab6fa41255b5c7ece91558814
parent009e0dcbf3cf3c325596e885dd0224031330dad7 (diff)
spec_tests.py: Replace → with tab when dumping json.
-rwxr-xr-xspec_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec_tests.py b/spec_tests.py
index da3f550..6e0d4cc 100755
--- a/spec_tests.py
+++ b/spec_tests.py
@@ -264,7 +264,7 @@ def do_tests(specfile, prog, pattern, normalize, dump_tests):
if active:
if dump_tests:
tests_json.append({
- "markdown":''.join(markdown_lines),
+ "markdown":''.join(markdown_lines).replace('→',"\t"),
"html":''.join(html_lines),
"example": example_number,
"start_line": start_line,