mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
style fixes in TestHelper.h
This commit is contained in:
parent
3efbe46a49
commit
d586a88f3c
12
TestHelper.h
12
TestHelper.h
@ -58,13 +58,13 @@ namespace test
|
|||||||
} \
|
} \
|
||||||
catch (boost::exception const& _e) \
|
catch (boost::exception const& _e) \
|
||||||
{ \
|
{ \
|
||||||
auto msg = std::string(_message" due to an exception thrown by " \
|
auto msg = std::string(_message " due to an exception thrown by " \
|
||||||
BOOST_STRINGIZE(_statement)"\n") + boost::diagnostic_information(_e); \
|
BOOST_STRINGIZE(_statement) "\n") + boost::diagnostic_information(_e); \
|
||||||
BOOST_CHECK_IMPL(false, msg, REQUIRE, CHECK_MSG); \
|
BOOST_CHECK_IMPL(false, msg, REQUIRE, CHECK_MSG); \
|
||||||
} \
|
} \
|
||||||
catch (...) \
|
catch (...) \
|
||||||
{ \
|
{ \
|
||||||
BOOST_CHECK_IMPL( false, "Unknown exception thrown by " \
|
BOOST_CHECK_IMPL(false, "Unknown exception thrown by " \
|
||||||
BOOST_STRINGIZE(_statement), REQUIRE, CHECK_MSG); \
|
BOOST_STRINGIZE(_statement), REQUIRE, CHECK_MSG); \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
@ -84,13 +84,13 @@ namespace test
|
|||||||
} \
|
} \
|
||||||
catch (boost::exception const& _e) \
|
catch (boost::exception const& _e) \
|
||||||
{ \
|
{ \
|
||||||
auto msg = std::string(_message" due to an exception thrown by " \
|
auto msg = std::string(_message " due to an exception thrown by " \
|
||||||
BOOST_STRINGIZE(_statement)"\n") + boost::diagnostic_information(_e); \
|
BOOST_STRINGIZE(_statement) "\n") + boost::diagnostic_information(_e); \
|
||||||
BOOST_CHECK_IMPL(false, msg, CHECK, CHECK_MSG); \
|
BOOST_CHECK_IMPL(false, msg, CHECK, CHECK_MSG); \
|
||||||
} \
|
} \
|
||||||
catch (...) \
|
catch (...) \
|
||||||
{ \
|
{ \
|
||||||
BOOST_CHECK_IMPL( false, "Unknown exception thrown by " \
|
BOOST_CHECK_IMPL(false, "Unknown exception thrown by " \
|
||||||
BOOST_STRINGIZE(_statement), CHECK, CHECK_MSG ); \
|
BOOST_STRINGIZE(_statement), CHECK, CHECK_MSG ); \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
|
Loading…
Reference in New Issue
Block a user