mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[poincare/test/parsing] Fix Parser usage
This commit is contained in:
committed by
Léa Saviot
parent
4b98652ed9
commit
e6009250de
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user