From 329017d07bace83e7ad20c26a39f1518f532b2ee Mon Sep 17 00:00:00 2001 From: Philipp Ossler Date: Tue, 20 Aug 2024 09:48:26 +0200 Subject: [PATCH] test: Adjust failure message --- .../scala/org/camunda/feel/impl/SuppressedFailuresTest.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/scala/org/camunda/feel/impl/SuppressedFailuresTest.scala b/src/test/scala/org/camunda/feel/impl/SuppressedFailuresTest.scala index ab66f09b7..310c20be5 100644 --- a/src/test/scala/org/camunda/feel/impl/SuppressedFailuresTest.scala +++ b/src/test/scala/org/camunda/feel/impl/SuppressedFailuresTest.scala @@ -65,7 +65,7 @@ class SuppressedFailuresTest it should "report a suppressed failure if an addition has incompatible values" in { evaluateExpression("2 + true") should reportFailure( failureType = EvaluationFailureType.INVALID_TYPE, - failureMessage = "Expected number but found 'true'" + failureMessage = "Can't add 'true' to '2'" ) } @@ -109,7 +109,7 @@ class SuppressedFailuresTest ), EvaluationFailure( failureType = EvaluationFailureType.INVALID_TYPE, - failureMessage = "Expected number but found 'null'" + failureMessage = "Can't add 'null' to '1'" ) ) }