We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 619bb05 commit 88411e9Copy full SHA for 88411e9
.travis.yml
@@ -25,7 +25,6 @@ addons:
25
- pkg-config
26
27
before_script:
28
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew uninstall libtool; brew install libtool; fi
29
- if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi
30
- test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh
31
test/object.cpp
@@ -19,9 +19,10 @@
19
#define BOOST_CHECK_THROW(stmt, excMatch) { \
20
try { \
21
(stmt); \
22
+ assert(0 && "No exception caught"); \
23
} catch (excMatch & e) { \
24
} catch (...) { \
- assert(0); \
+ assert(0 && "Wrong exception caught"); \
} \
}
#define BOOST_CHECK_NO_THROW(stmt) { \
0 commit comments