Browse Source

univalue: Bump subtree

0.16
MarcoFalke 7 years ago
parent
commit
fad349c507
  1. 1
      src/univalue/.travis.yml
  2. 3
      src/univalue/test/object.cpp

1
src/univalue/.travis.yml

@ -25,7 +25,6 @@ addons: @@ -25,7 +25,6 @@ addons:
- pkg-config
before_script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew uninstall libtool; brew install libtool; fi
- if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi
- test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh

3
src/univalue/test/object.cpp

@ -19,9 +19,10 @@ @@ -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) { \

Loading…
Cancel
Save