Skip to content

Commit 10a67c6

Browse files
committed
Adjust expected exception message for testInvalidTextValueWithBrokenUTF8()
1 parent f3d3f2f commit 10a67c6

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/fuzz/CBORFuzz_35979_StringValueTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public void testInvalidTextValueWithBrokenUTF8() throws Exception
2727
p.getText();
2828
fail("Should not pass");
2929
} catch (StreamReadException e) {
30-
verifyException(e, "Malformed UTF-8 character at the end of a");
30+
verifyException(e, "Truncated UTF-8 character in Chunked Unicode String value (256 bytes)");
3131
}
3232

3333
}

0 commit comments

Comments
 (0)