Skip to content

Commit

Permalink
test: adapt test to new error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ledex committed Apr 9, 2024
1 parent a1c2fcf commit 086bfb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ void tooManyActualValuesShouldReturnError() throws URISyntaxException, IOExcepti
EvaluationResult result = operator.evaluate(payload.toString());

assertFalse(result.isMatch());
assertEquals("An exception occurred during the evaluation: \nThe evaluation of \"$..type\" contained too many values. Expected 1, got 2.", result.getCauseDescription());
assertEquals("An exception occurred during the evaluation: \nThe evaluation of \"$..type\" did not return a single value. Expected 1 value, got 2.", result.getCauseDescription());
}
}

0 comments on commit 086bfb4

Please sign in to comment.