-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
TestKit
encoding where ByteBuffer.array
may not exactly repre…
…sent UTF8 encoded bytes. backing array ByteBuffer.array may not exactly represent UTF8 encoded bytes. PR permit to ensure test is valid whatever the JVM is used Example using jdk8: "test-value".getBytes(StandardCharsets.UTF_8) => 0x746573742D76616C7565 StandardCharsets.UTF_8.encode("test-value").array() => 0x746573742D76616C756500 having an additional ending 0x00 Signed-off-by: diego Dupin <[email protected]> [resolves #264] Signed-off-by: Mark Paluch <[email protected]>
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters