This closes #2232
This commit is contained in:
commit
d2063131f4
|
@ -28,7 +28,7 @@ public class SimpleStringTest {
|
||||||
@Test
|
@Test
|
||||||
public void testOutOfBoundsThrownOnMalformedString() {
|
public void testOutOfBoundsThrownOnMalformedString() {
|
||||||
ByteBuf byteBuffer = ByteBufAllocator.DEFAULT.buffer(5);
|
ByteBuf byteBuffer = ByteBufAllocator.DEFAULT.buffer(5);
|
||||||
byteBuffer.writeInt(100);
|
byteBuffer.writeInt(Integer.MAX_VALUE);
|
||||||
|
|
||||||
Exception e = null;
|
Exception e = null;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue