Skip to content

Commit

Permalink
Merge pull request #120 from jparise/tests-found-errors
Browse files Browse the repository at this point in the history
Improve output formatting of found errors
  • Loading branch information
5j9 committed Jul 17, 2019
2 parents ae46828 + dba4a0e commit baaa468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def test_file(filename, lines, code, options):
if code in found_errors: # Expected FAIL
return 0
print("ERROR: %s not in %s. found_errors: %s. Source:\n%s"
% (code, filename, found_errors, source))
% (code, filename, ','.join(sorted(found_errors)), source))
return 1


Expand Down

0 comments on commit baaa468

Please sign in to comment.