summaryrefslogtreecommitdiff
path: root/test/unit/context/context_mm_black.h
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2019-10-30 15:27:10 -0700
committerGitHub <noreply@github.com>2019-10-30 15:27:10 -0700
commit43ab3f4cd1aa5549cb1aa3c20a2d589614bcb8fc (patch)
treecf7b5d7f73a4d4ddc34492334a7d0eb90b57b77b /test/unit/context/context_mm_black.h
parent8dda9531995953c3cec094339002f2ee7cadae08 (diff)
Unify CVC4_CHECK/CVC4_DCHECK/AlwaysAssert/Assert. (#3366)
Diffstat (limited to 'test/unit/context/context_mm_black.h')
-rw-r--r--test/unit/context/context_mm_black.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/unit/context/context_mm_black.h b/test/unit/context/context_mm_black.h
index 15f9b09de..cd5ff8242 100644
--- a/test/unit/context/context_mm_black.h
+++ b/test/unit/context/context_mm_black.h
@@ -22,8 +22,7 @@
#include <iostream>
#include "context/context_mm.h"
-
-#include "base/cvc4_assert.h"
+#include "test_utils.h"
using namespace std;
using namespace CVC4::context;
@@ -90,7 +89,7 @@ private:
}
// Try popping out of scope
- TS_ASSERT_THROWS(d_cmm->pop(), CVC4::AssertionException&);
+ TS_UTILS_EXPECT_ABORT(d_cmm->pop());
#endif /* __CVC4__CONTEXT__CONTEXT_MM_H */
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback