aboutsummaryrefslogtreecommitdiff
path: root/src/univalue/test
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-12-19 16:49:01 -0500
committerMarcoFalke <falke.marco@gmail.com>2017-12-19 16:44:57 -0500
commitfad349c507a3179fa117ddf3ad6e651609c366cc (patch)
treeb9e9fd9cdb414ecf1563fec7ceb829cd988c1413 /src/univalue/test
parent2971fd030f6e20ff5279bd86ba18acc5e5ed1ce9 (diff)
parent88411e98e50c92f8990733eee0bc353ac8f21a35 (diff)
univalue: Bump subtree
Diffstat (limited to 'src/univalue/test')
-rw-r--r--src/univalue/test/object.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/univalue/test/object.cpp b/src/univalue/test/object.cpp
index 02446292a1..679cc9f143 100644
--- a/src/univalue/test/object.cpp
+++ b/src/univalue/test/object.cpp
@@ -19,9 +19,10 @@
#define BOOST_CHECK_THROW(stmt, excMatch) { \
try { \
(stmt); \
+ assert(0 && "No exception caught"); \
} catch (excMatch & e) { \
} catch (...) { \
- assert(0); \
+ assert(0 && "Wrong exception caught"); \
} \
}
#define BOOST_CHECK_NO_THROW(stmt) { \