From a7377f180a82167fdce98b2feba6ef2c8485dcd5 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Fri, 11 Jan 2013 17:28:18 +0100 Subject: [PATCH] Quote output of _assertEquals() It's easier to detect trailing spaces this way. --- tools/matchcompiler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/matchcompiler.py b/tools/matchcompiler.py index b530ef2c7..789da0810 100755 --- a/tools/matchcompiler.py +++ b/tools/matchcompiler.py @@ -490,8 +490,8 @@ class MatchCompiler: def _assertEquals(self, actual, expected): if actual != expected: print ('Assertion failed:') - print (actual) - print (expected) + print ('"' + actual + '"') + print ('"' + expected + '"') assert actual == expected def _selftests(self):