diff options
Diffstat (limited to 'test/unit/context')
-rw-r--r-- | test/unit/context/context_black.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/context/context_black.h b/test/unit/context/context_black.h index f06ed9f42..548b28d64 100644 --- a/test/unit/context/context_black.h +++ b/test/unit/context/context_black.h @@ -56,8 +56,10 @@ public: // the interface doesn't declare any exceptions d_context->push(); d_context->pop(); +#ifdef CVC4_ASSERTIONS TS_ASSERT_THROWS( d_context->pop(), AssertionException ); TS_ASSERT_THROWS( d_context->pop(), AssertionException ); +#endif /* CVC4_ASSERTIONS */ } void tearDown() { |