diff options
-rwxr-xr-x | monkey/test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/monkey/test.py b/monkey/test.py index 6887a2c..6549c1b 100755 --- a/monkey/test.py +++ b/monkey/test.py @@ -58,8 +58,8 @@ def print_hint(code, solution, steps, fix_time, n_tested): for step_type, pos, a, b in steps: print(' {}: {} {} → {}'.format(pos, step_type, stringify(a), stringify(b))) print(colored(' Hints', 'blue')) - for loc, msg in fix_hints(code, steps): - print(' {}-{}: {}'.format(loc['start'], loc['end'], msg)) + for fix_type, start, end, msg in fix_hints(code, steps): + print(' {}-{}: {} (fix type: {})'.format(start, end, msg, fix_type)) print(colored(' Final version', 'blue')) print(indent(compose(annotate(solution)), 2)) else: |