diff options
author | Carsten Brandt <mail@cebe.cc> | 2014-12-01 18:50:47 +0100 |
---|---|---|
committer | Carsten Brandt <mail@cebe.cc> | 2014-12-01 18:50:47 +0100 |
commit | 35cc2bd25425aa15b6963555da735284f7e72299 (patch) | |
tree | 3980bf7b0b15bfd98dcefe0ea0223a1e641e0dfe /test/spec_tests.py | |
parent | 4552c508b6e56d5849e9cb3487d988f2102c0607 (diff) |
make the diff output work
Diffstat (limited to 'test/spec_tests.py')
-rwxr-xr-x | test/spec_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spec_tests.py b/test/spec_tests.py index 7665eed..23ae502 100755 --- a/test/spec_tests.py +++ b/test/spec_tests.py @@ -46,7 +46,7 @@ def do_test(test, normalize): else: print_test_header(test['section'], test['example'], test['start_line'], test['end_line']) sys.stdout.write(test['markdown']) - expected_html_lines = '\n'.split(expected_html) + expected_html_lines = expected_html.splitlines(True) actual_html_lines = actual_html.splitlines(True) for diffline in unified_diff(expected_html_lines, actual_html_lines, "expected HTML", "actual HTML"): |