diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-09 20:06:16 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-09 20:06:16 +0800 |
commit | d586a88f3cab21db88f31dd574daac4bb9a28b7d (patch) | |
tree | 5d59b64355b33260d7c702d4219253f2d2d089f9 /TestHelper.h | |
parent | 3efbe46a49496ee71c23a9e49b4c374f6157a357 (diff) | |
download | dexon-solidity-d586a88f3cab21db88f31dd574daac4bb9a28b7d.tar.gz dexon-solidity-d586a88f3cab21db88f31dd574daac4bb9a28b7d.tar.zst dexon-solidity-d586a88f3cab21db88f31dd574daac4bb9a28b7d.zip |
style fixes in TestHelper.h
Diffstat (limited to 'TestHelper.h')
-rw-r--r-- | TestHelper.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/TestHelper.h b/TestHelper.h index bd416257..0f23f945 100644 --- a/TestHelper.h +++ b/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 ); \ } \ } \ |