diff --git a/lang/java/avro/src/test/java/org/apache/avro/TestSchemaBuilder.java b/lang/java/avro/src/test/java/org/apache/avro/TestSchemaBuilder.java index 21fcc498351..293554e8e4b 100644 --- a/lang/java/avro/src/test/java/org/apache/avro/TestSchemaBuilder.java +++ b/lang/java/avro/src/test/java/org/apache/avro/TestSchemaBuilder.java @@ -181,10 +181,10 @@ void arrayObjectProp() { assertEquals(true, iter.next()); assertEquals(Integer.MAX_VALUE, iter.next()); assertEquals(Long.MAX_VALUE, iter.next()); - // float converts to double + assertEquals(1.0f, iter.next()); assertEquals(Double.MAX_VALUE, iter.next()); - // byte[] converts to string + assertArrayEquals(new byte[] { 0x41, 0x42, 0x43 }, (byte[]) iter.next()); assertEquals("abc", iter.next()); }