[opengtl-commits] [747] show parenthesis around value to better see start and end spaces

[ Thread Index | Date Index | More lists.tuxfamily.org/opengtl-commits Archives ]


Revision: 747
Author:   cyrille
Date:     2009-05-29 11:02:22 +0200 (Fri, 29 May 2009)

Log Message:
-----------
show parenthesis around value to better see start and end spaces

Modified Paths:
--------------
    trunk/OpenGTL/OpenGTL/GTLTest/Case.h


Modified: trunk/OpenGTL/OpenGTL/GTLTest/Case.h
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLTest/Case.h	2009-05-29 08:58:55 UTC (rev 746)
+++ trunk/OpenGTL/OpenGTL/GTLTest/Case.h	2009-05-29 09:02:22 UTC (rev 747)
@@ -45,7 +45,7 @@
  * @ingroup GTLTest
  */
 #define GTLTEST_CHECK_EQUAL(a, b) \
-  GTLTEST_CHECK_MESSAGE( (a) == (b), (#a) << " == " << (#b) << " " << (a) << " == " << (b) );
+  GTLTEST_CHECK_MESSAGE( (a) == (b), (#a) << " == " << (#b) << " (" << (a) << ") == (" << (b) << ")" );
  
 /**
  * This macro will test that a and b are not equal, and display a message containing the values


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/