You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by GitBox <gi...@apache.org> on 2020/04/27 15:31:10 UTC

[GitHub] [avro] RyanSkraba commented on a change in pull request #864: [AVRO-2278] getter semantics confusing.

RyanSkraba commented on a change in pull request #864:
URL: https://github.com/apache/avro/pull/864#discussion_r415914252



##########
File path: lang/java/avro/src/test/java/org/apache/avro/TestSchemaBuilder.java
##########
@@ -721,7 +720,7 @@ public void testFieldTypesAndDefaultValues() {
     for (CharSequence c : arr) {
       Assert.assertTrue(arrdef.contains(c.toString()));
     }
-    Assert.assertEquals(newRec.get("arrF"), newRec.get("arrU"));
+    Assert.assertEquals(newRec.get("arrayF"), newRec.get("arrayU"));

Review comment:
       Good catch, throwing the exception would have caught this faulty test!




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org