diff --git a/test/current_function_test.cpp b/test/current_function_test.cpp index 1343901..c664696 100644 --- a/test/current_function_test.cpp +++ b/test/current_function_test.cpp @@ -27,14 +27,13 @@ void message(char const * file, long line, char const * func, char const * msg) using std::printf; #endif - printf("%s(%ld): %s in function '%s'\n", file, line, msg, func); + printf("%s(%ld): in function '%s': %s\n", file, line, func, msg); } #define MESSAGE(msg) message(__FILE__, __LINE__, BOOST_CURRENT_FUNCTION, msg) int main() { - MESSAGE("assertion failed"); - + MESSAGE("testing BOOST_CURRENT_FUNCTION"); return 0; }