Skip to content

Commit b303f3c

Browse files
committed
Fix test error
1 parent da88512 commit b303f3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cbor/src/test/java/com/fasterxml/jackson/dataformat/cbor/CBORTestBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ protected String getAndVerifyText(JsonParser p) throws IOException
201201
if (str.length() != actLen) {
202202
fail("Internal problem (p.token == "+p.getCurrentToken()+"): p.getText().length() ['"+str+"'] == "+str.length()+"; p.getTextLength() == "+actLen);
203203
}
204-
assertEquals("String access via getText(), getTextXxx() must be the same", str, str2);
204+
assertEquals(str, str2, "String access via getText(), getTextXxx() must be the same");
205205

206206
return str;
207207
}

0 commit comments

Comments
 (0)