Skip to content

Commit

Permalink
test: Adjust failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
saig0 committed Aug 20, 2024
1 parent 8354d1b commit 63efe64
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
)
}

Expand Down Expand Up @@ -109,7 +109,7 @@ class SuppressedFailuresTest
),
EvaluationFailure(
failureType = EvaluationFailureType.INVALID_TYPE,
failureMessage = "Expected number but found 'null'"
failureMessage = "Can't add 'null' to '1'"
)
)
}
Expand Down

0 comments on commit 63efe64

Please sign in to comment.