diff options
Diffstat (limited to 'test/unit/expr/node_black.h')
-rw-r--r-- | test/unit/expr/node_black.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/expr/node_black.h b/test/unit/expr/node_black.h index 1518efadf..1a5f5ecfa 100644 --- a/test/unit/expr/node_black.h +++ b/test/unit/expr/node_black.h @@ -427,8 +427,8 @@ public: TS_ASSERT( f == fa.getOperator() ); #ifdef CVC4_ASSERTIONS - TS_ASSERT_THROWS( f.getOperator(), AssertionException ); - TS_ASSERT_THROWS( a.getOperator(), AssertionException ); + TS_ASSERT_THROWS( f.getOperator(), IllegalArgumentException ); + TS_ASSERT_THROWS( a.getOperator(), IllegalArgumentException ); #endif /* CVC4_ASSERTIONS */ } |