diff --git a/src/univalue/test/object.cpp b/src/univalue/test/object.cpp index 1c724555f3c..c5f15ff474c 100644 --- a/src/univalue/test/object.cpp +++ b/src/univalue/test/object.cpp @@ -21,16 +21,16 @@ (stmt); \ assert(0 && "No exception caught"); \ } catch (excMatch & e) { \ - } catch (...) { \ - assert(0 && "Wrong exception caught"); \ - } \ + } catch (...) { \ + assert(0 && "Wrong exception caught"); \ + } \ } #define BOOST_CHECK_NO_THROW(stmt) { \ try { \ (stmt); \ - } catch (...) { \ - assert(0); \ - } \ + } catch (...) { \ + assert(0); \ + } \ } void univalue_constructor()