nastra commented on code in PR #9793:
URL: https://github.com/apache/iceberg/pull/9793#discussion_r1584314134


##########
data/src/test/java/org/apache/iceberg/data/avro/TestSingleMessageEncoding.java:
##########
@@ -87,8 +86,12 @@ public void testByteBufferRoundTrip() throws Exception {
 
     Record copy = decoder.decode(encoder.encode(V2_RECORDS.get(0)));
 
-    Assert.assertTrue("Copy should not be the same object", copy != 
V2_RECORDS.get(0));
-    Assert.assertEquals("Record should be identical after round-trip", 
V2_RECORDS.get(0), copy);
+    Assertions.assertThat(copy != V2_RECORDS.get(0))

Review Comment:
   ```suggestion
       Assertions.assertThat(copy).as(...).isNotSameAs(V2_RECORDS.get(0)))
   ```



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to