diff --git a/protocol/src/test/java/com/zfoo/protocol/buffer/ByteBufUtilsTest.java b/protocol/src/test/java/com/zfoo/protocol/buffer/ByteBufUtilsTest.java index cfc99817e..a2e418ba7 100644 --- a/protocol/src/test/java/com/zfoo/protocol/buffer/ByteBufUtilsTest.java +++ b/protocol/src/test/java/com/zfoo/protocol/buffer/ByteBufUtilsTest.java @@ -100,17 +100,4 @@ public void stringTest() { Assert.assertEquals(result, str); } - @Test - public void charTest() { - char c = 'a'; - ByteBuf byteBuf = Unpooled.buffer(); - ByteBufUtils.writeChar(byteBuf, c); - char result = ByteBufUtils.readChar(byteBuf); - Assert.assertEquals(result, c); - - Character d = null; - ByteBufUtils.writeCharBox(byteBuf, d); - Assert.assertEquals(ByteBufUtils.readCharBox(byteBuf), Character.valueOf(Character.MIN_VALUE)); - } - }