parent
ddb769bf7f
commit
fe38cb3b4a
|
@ -168,9 +168,7 @@ class ZipStringTests {
|
||||||
@Test
|
@Test
|
||||||
void zipStringWhenMultiCodePointAtBufferBoundary() throws Exception {
|
void zipStringWhenMultiCodePointAtBufferBoundary() throws Exception {
|
||||||
StringBuilder source = new StringBuilder();
|
StringBuilder source = new StringBuilder();
|
||||||
for (int i = 0; i < ZipString.BUFFER_SIZE - 1; i++) {
|
source.append("A".repeat(ZipString.BUFFER_SIZE - 1));
|
||||||
source.append("A");
|
|
||||||
}
|
|
||||||
source.append("\u1EFF");
|
source.append("\u1EFF");
|
||||||
String charSequence = source.toString();
|
String charSequence = source.toString();
|
||||||
source.append("suffix");
|
source.append("suffix");
|
||||||
|
|
Loading…
Reference in New Issue