Browse Source

style fixes in TestHelper.h

cl-refactor
Lefteris Karapetsas 10 years ago
parent
commit
051fc0e772
  1. 12
      test/TestHelper.h

12
test/TestHelper.h

@ -58,13 +58,13 @@ namespace test
} \
catch (boost::exception const& _e) \
{ \
auto msg = std::string(_message" due to an exception thrown by " \
BOOST_STRINGIZE(_statement)"\n") + boost::diagnostic_information(_e); \
auto msg = std::string(_message " due to an exception thrown by " \
BOOST_STRINGIZE(_statement) "\n") + boost::diagnostic_information(_e); \
BOOST_CHECK_IMPL(false, msg, REQUIRE, CHECK_MSG); \
} \
catch (...) \
{ \
BOOST_CHECK_IMPL( false, "Unknown exception thrown by " \
BOOST_CHECK_IMPL(false, "Unknown exception thrown by " \
BOOST_STRINGIZE(_statement), REQUIRE, CHECK_MSG); \
} \
} \
@ -84,13 +84,13 @@ namespace test
} \
catch (boost::exception const& _e) \
{ \
auto msg = std::string(_message" due to an exception thrown by " \
BOOST_STRINGIZE(_statement)"\n") + boost::diagnostic_information(_e); \
auto msg = std::string(_message " due to an exception thrown by " \
BOOST_STRINGIZE(_statement) "\n") + boost::diagnostic_information(_e); \
BOOST_CHECK_IMPL(false, msg, CHECK, CHECK_MSG); \
} \
catch (...) \
{ \
BOOST_CHECK_IMPL( false, "Unknown exception thrown by " \
BOOST_CHECK_IMPL(false, "Unknown exception thrown by " \
BOOST_STRINGIZE(_statement), CHECK, CHECK_MSG ); \
} \
} \

Loading…
Cancel
Save