Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit f33acf9

Browse files
author
marco
committed
Merge commit '7890db9~' into HEAD
2 parents 88967f6 + 40e3485 commit f33acf9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/object.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@
1919
#define BOOST_CHECK_THROW(stmt, excMatch) { \
2020
try { \
2121
(stmt); \
22+
assert(0 && "No exception caught"); \
2223
} catch (excMatch & e) { \
2324
} catch (...) { \
24-
assert(0); \
25+
assert(0 && "Wrong exception caught"); \
2526
} \
2627
}
2728
#define BOOST_CHECK_NO_THROW(stmt) { \

0 commit comments

Comments
 (0)