testing : Minor fix for ASSERT_EQUALS macro

This commit is contained in:
Daniel Marjamäki 2008-12-08 17:27:46 +00:00
parent 8c8435feb8
commit 29afcaebcd
1 changed files with 2 additions and 2 deletions

View File

@ -54,6 +54,6 @@ public:
#define TEST_CASE( NAME ) if ( runTest(#NAME) ) NAME (); #define TEST_CASE( NAME ) if ( runTest(#NAME) ) NAME ();
#define ASSERT_EQUALS( EXPECTED , ACTUAL ) assertEquals(__FILE__, __LINE__, EXPECTED, ACTUAL); #define ASSERT_EQUALS( EXPECTED , ACTUAL ) assertEquals(__FILE__, __LINE__, EXPECTED, ACTUAL)
#define REGISTER_TEST( CLASSNAME ) namespace { CLASSNAME instance; } #define REGISTER_TEST( CLASSNAME ) namespace { CLASSNAME instance; }