This commit is contained in:
Martyn Taylor 2018-08-09 17:03:00 +01:00
commit d2063131f4
1 changed files with 1 additions and 1 deletions

View File

@ -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 {