3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-26 16:12:42 +01:00

Missed one - oops

Dieser Commit ist enthalten in:
Myles 2018-11-17 13:47:58 +00:00
Ursprung 69aa7be6c5
Commit 20b0954f8c

Datei anzeigen

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