summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2020-11-06 14:24:38 -0300
committerGitHub <noreply@github.com>2020-11-06 14:24:38 -0300
commit207f8c08b3f161ea0e84c3f51d4c86662633b5c9 (patch)
tree1eb1930e9124c5ecf77840e80ebed64cbb85608c /tests
parent391d29f558d122798416b5957660d9eeceecd0f5 (diff)
parentf2397809a84c2bf0d41e6cb2092fa8f3c5a17850 (diff)
Merge pull request #43323 from reduz/variant-bind-rework2
Refactored Variant Operators.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_expression.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_expression.h b/tests/test_expression.h
index a3d4877d52..c9cb0158f3 100644
--- a/tests/test_expression.h
+++ b/tests/test_expression.h
@@ -381,7 +381,7 @@ TEST_CASE("[Expression] Unusual expressions") {
ERR_PRINT_OFF;
CHECK_MESSAGE(
- expression.parse("$1.00 + €5") == OK,
+ expression.parse("$1.00 + ???5") == OK,
"The expression should parse successfully.");
CHECK_MESSAGE(
int(expression.execute()) == 0,
@@ -410,8 +410,8 @@ TEST_CASE("[Expression] Unusual expressions") {
"The expression should parse successfully.");
ERR_PRINT_OFF;
CHECK_MESSAGE(
- Math::is_zero_approx(float(expression.execute())),
- "`-25.4 / 0` should return 0.");
+ Math::is_inf(float(expression.execute())),
+ "`-25.4 / 0` should return inf.");
ERR_PRINT_ON;
CHECK_MESSAGE(