Skip to content

Commit

Permalink
fix Unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
li-ukumar committed Feb 15, 2024
1 parent 547fc37 commit e63d984
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1087,13 +1087,14 @@ public void testSpecificRecordBuilder110(String stringField, String package$, Fl
Assert.assertSame(builderTester.get(0), stringField);
Assert.assertSame(builderTester.get(1), package$);
Assert.assertSame(builderTester.get(6), min);
Assert.assertSame(builderTester.get(7), arrayOfRecord);
Assert.assertSame(builderTester.get(10), simpleUnion);
Assert.assertSame(builderTester.get(11), fixedType);
Assert.assertEquals(builderTester.get(2), exception);
Assert.assertEquals(builderTester.get(3), dbl);
Assert.assertEquals(builderTester.get(4), isTrue);

// Equal, not same as the Record has string fields
Assert.assertEquals(builderTester.get(7), arrayOfRecord);
// Use transformers to return a copy of data
assertNotSameIfNotNull(builderTester.get(5), arrayOfStrings);
Assert.assertEquals(builderTester.get(5), arrayOfStrings);
Expand Down

0 comments on commit e63d984

Please sign in to comment.