summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/check.py b/check.py
index 2381d38d5..ce4066a4c 100755
--- a/check.py
+++ b/check.py
@@ -34,8 +34,7 @@ for asm in tests:
raise Exception('output .wast file does not exist')
expected = open(os.path.join('test', wasm)).read()
if actual != expected:
- raise Exception("Expected to have '%s' == '%s', diff:\n\n%s" % (
- expected, actual,
+ raise Exception("incorrect output, diff:\n\n%s" % (
''.join([a.rstrip()+'\n' for a in difflib.unified_diff(expected.split('\n'), actual.split('\n'), fromfile='expected', tofile='actual')])
))