removed swallow statement

This commit is contained in:
Gabriel Schlozer 2016-11-18 15:30:30 +01:00
parent d8e27e1825
commit 2c41f90efb

View file

@ -184,7 +184,6 @@
bool caught_ = false; \
try { expression; } \
catch (ExpectedExceptionType const&) { caught_ = true; } \
catch (...) {} \
if (!caught_) \
UnitTest::CurrentTest::Results()->OnTestFailure(UnitTest::TestDetails(*UnitTest::CurrentTest::Details(), __LINE__), "Expected exception: \"" #ExpectedExceptionType "\" not thrown"); \
UNITTEST_MULTILINE_MACRO_END