Missed one - oops

This commit is contained in:
Myles 2018-11-17 13:47:58 +00:00
parent 69aa7be6c5
commit 20b0954f8c

View File

@ -31,6 +31,7 @@ public class StringTypeTest {
Assertions.assertEquals(Type.STRING.read(buf), new String(new char[Short.MAX_VALUE / 2]).replace("\0", "\uD83E\uDDFD"));
}
@Test
public void testStringReadOverflowException() throws Exception {
// Read exception
final ByteBuf buf = Unpooled.buffer();