summarylogtreecommitdiffstats
path: root/solidity-hotfix-boost-1.59.patch
blob: 880a61e20d80efc664de52071648b397e9066265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff --git a/test/TestHelper.h b/test/TestHelper.h
index 0bf6222..94b5ee2 100644
--- a/test/TestHelper.h
+++ b/test/TestHelper.h
@@ -46,12 +46,6 @@ namespace test
 		{																\
 			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_STRINGIZE(_statement), REQUIRE, CHECK_MSG);		\
 		}																\
 	}																	\
 	while (0)
@@ -72,12 +66,6 @@ namespace test
 		{																\
 			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_STRINGIZE(_statement), CHECK, CHECK_MSG );		\
 		}																\
 	}																	\
 	while (0)