We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1963719 commit 7acab35Copy full SHA for 7acab35
src/test/java/com/maxmind/db/MultiBufferTest.java
@@ -321,7 +321,7 @@ public void testDecodeString() throws CharacterCodingException {
321
322
@Test
323
public void testDecodeStringTooLarge() {
324
- MultiBuffer buffer = new MultiBuffer((long) Integer.MAX_VALUE + 1);
+ MultiBuffer buffer = new MultiBuffer((long) Integer.MAX_VALUE + 1, 1024);
325
assertThrows(IllegalStateException.class, () ->
326
buffer.decode(StandardCharsets.UTF_8.newDecoder()));
327
}
0 commit comments