diff --git a/test/test.hpp b/test/test.hpp index bd57438b0..a100ce2c9 100644 --- a/test/test.hpp +++ b/test/test.hpp @@ -62,7 +62,7 @@ void report_failure(char const* str, char const* file, int line); #define TEST_EQUAL(x, y) \ if (x != y) { \ std::stringstream s__; \ - s__ << "TEST_EQUAL_ERROR: " << #x << ": " << x << " expected: " << y << std::endl; \ + s__ << "TEST_EQUAL_ERROR: " #x ": " << x << " expected: " << y << std::endl; \ TEST_REPORT_AUX(s__.str().c_str(), __FILE__, __LINE__); \ } #else @@ -85,7 +85,7 @@ void report_failure(char const* str, char const* file, int line); try { \ if (x != y) { \ std::stringstream s__; \ - s__ << "TEST_EQUAL_ERROR: " << #x << ": " << x << " expected: " << y << std::endl; \ + s__ << "TEST_EQUAL_ERROR: " #x ": " << x << " expected: " << y << std::endl; \ TEST_REPORT_AUX(s__.str().c_str(), __FILE__, __LINE__); \ } \ } \