From 2acca473def1f8ffbf5f44ff1f033aebbe6c4afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Fri, 20 Oct 2017 14:37:27 +0200 Subject: [PATCH] [poincare] Fix bug in tests Change-Id: I27a3d60deea740fd42c5b6cc5f46c551e3e2e615 --- poincare/test/simplify_easy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poincare/test/simplify_easy.cpp b/poincare/test/simplify_easy.cpp index 1a2136395..b41932969 100644 --- a/poincare/test/simplify_easy.cpp +++ b/poincare/test/simplify_easy.cpp @@ -21,9 +21,9 @@ void assert_parsed_expression_simplify_to(const char * expression, const char * print_expression(e, 0); #endif Expression * f = parse_expression(simplifiedExpression); + Expression::simplifyAndBeautify(&f); #if POINCARE_TESTS_PRINT_EXPRESSIONS cout << "---- compared to: " << simplifiedExpression << "----" << endl; - Expression::simplifyAndBeautify(&f); print_expression(f, 0); #endif assert(e->compareTo(f) == 0);