From ea64101b46407fb1e0f3f6c257f1089253b961ac Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 29 Oct 2015 13:17:29 -0700 Subject: fix check.py --- check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'check.py') diff --git a/check.py b/check.py index 55ffab9b1..f61f4eb72 100755 --- a/check.py +++ b/check.py @@ -16,7 +16,7 @@ for asm in os.listdir('test'): if actual != expected: raise Exception("Expected to have '%s' == '%s', diff:\n\n%s" % ( expected, actual, - limit_size(''.join([a.rstrip()+'\n' for a in difflib.unified_diff(x.split('\n'), y.split('\n'), fromfile='expected', tofile='actual')])) + ''.join([a.rstrip()+'\n' for a in difflib.unified_diff(expected.split('\n'), actual.split('\n'), fromfile='expected', tofile='actual')]) )) print 'OK' -- cgit v1.2.3