Skip to content

Commit 88411e9

Browse files
author
MarcoFalke
committed
Squashed 'src/univalue/' changes from fe805ea..07947ff
07947ff Merge bitcoin#9: [tests] Fix BOOST_CHECK_THROW macro ec849d9 [tests] Fix BOOST_CHECK_THROW macro 31bc9f5 Merge bitcoin#8: Remove unused Homebrew workaround fa04209 Remove HomeBrew workaround a523e08 Merge bitcoin#7: Declare single-argument (non-converting) constructors "explicit" a9e53b3 Merge bitcoin#4: Pull upstream 16a1f7f Merge bitcoin#3: Pull upstream daf1285 Merge pull request #2 from jgarzik/master f32df99 Merge branch '2016_04_unicode' into bitcoin 280b191 Merge remote-tracking branch 'jgarzik/master' into bitcoin 2740c4f Merge branch '2015_11_escape_plan' into bitcoin git-subtree-dir: src/univalue git-subtree-split: 07947ff
1 parent 619bb05 commit 88411e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ addons:
2525
- pkg-config
2626

2727
before_script:
28-
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew uninstall libtool; brew install libtool; fi
2928
- if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi
3029
- test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh
3130

test/object.cpp

+2-1
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)