Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
Missed one - oops
Dieser Commit ist enthalten in:
Ursprung
69aa7be6c5
Commit
20b0954f8c
@ -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();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren