diff --git a/poincare/test/parsing.cpp b/poincare/test/parsing.cpp index cb5070029..11d9daedf 100644 --- a/poincare/test/parsing.cpp +++ b/poincare/test/parsing.cpp @@ -41,8 +41,8 @@ void assert_tokenizes_as_undefined_token(const char * string) { } void assert_text_not_parsable(const char * text) { - Parser p(text); - Expression result = p.parse(nullptr); + Parser p(text, nullptr); + Expression result = p.parse(); quiz_assert_print_if_failure(p.getStatus() != Parser::Status::Success, text); }