Skip to content

Commit

Permalink
Adjust ValueAssertTest for changed format of mismatched string exception
Browse files Browse the repository at this point in the history
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
  • Loading branch information
mmathesius committed Feb 2, 2021
1 parent 5b66f10 commit 0b82673
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -263,7 +263,7 @@ public void testIsEqualTo_withAttributeValueExpression_shouldPass() {
@Test
public void testIsEqualTo_withAttributeValueExpression_shouldFailed() {

thrown.expectAssertionError("expected:<\"[something]\"> but was:<\"[abc]\">");
thrown.expectAssertionError("Expecting:%n <\"abc\">%nto be equal to:%n <\"something\">%nbut was not.");

String xml = "<a><b attr=\"abc\"></b></a>";

Expand Down

0 comments on commit 0b82673

Please sign in to comment.