diff options
Diffstat (limited to 'test/unit/parser/parser_black.h')
-rw-r--r-- | test/unit/parser/parser_black.h | 4 |
1 files changed, 2 insertions, 2 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 |