diff options
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/parser/parser_black.h | 4 | ||||
-rw-r--r-- | test/unit/parser/parser_builder_black.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/parser/parser_black.h b/test/unit/parser/parser_black.h index bfaf8bda0..e00016f45 100644 --- a/test/unit/parser/parser_black.h +++ b/test/unit/parser/parser_black.h @@ -148,7 +148,7 @@ class ParserBlack TS_ASSERT(!parser->done()); setupContext(*parser); TS_ASSERT(!parser->done()); - Expr e = parser->nextExpression(); + api::Term e = parser->nextExpression(); TS_ASSERT(!e.isNull()); e = parser->nextExpression(); TS_ASSERT(parser->done()); @@ -187,7 +187,7 @@ class ParserBlack .build(); setupContext(*parser); TS_ASSERT(!parser->done()); - TS_ASSERT_THROWS(Expr e = parser->nextExpression(); + TS_ASSERT_THROWS(api::Term e = parser->nextExpression(); cout << endl << "Bad expr succeeded." << endl << "Input: <<" << badExpr << ">>" << endl diff --git a/test/unit/parser/parser_builder_black.h b/test/unit/parser/parser_builder_black.h index 78e1be748..44bb9293b 100644 --- a/test/unit/parser/parser_builder_black.h +++ b/test/unit/parser/parser_builder_black.h @@ -99,7 +99,7 @@ class ParserBuilderBlack : public CxxTest::TestSuite Parser *parser = builder.build(); TS_ASSERT(parser != NULL); - Expr e = parser->nextExpression(); + api::Term e = parser->nextExpression(); TS_ASSERT(e.isNull()); delete parser; @@ -110,7 +110,7 @@ class ParserBuilderBlack : public CxxTest::TestSuite Parser *parser = builder.build(); TS_ASSERT(parser != NULL); - Expr e = parser->nextExpression(); + api::Term e = parser->nextExpression(); TS_ASSERT_EQUALS(e, d_solver->getExprManager()->mkConst(true)); e = parser->nextExpression(); |