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


##########
data/src/test/java/org/apache/iceberg/io/TestRollingFileWriters.java:
##########
@@ -169,9 +170,9 @@ public void testRollingEqualityDeleteWriterSplitDeletes() 
throws IOException {
     writer.close();
 
     DeleteWriteResult result = writer.result();
-    Assert.assertEquals(4, result.deleteFiles().size());
-    Assert.assertEquals(0, result.referencedDataFiles().size());
-    Assert.assertFalse(result.referencesDataFiles());
+    assertThat(writer.result().deleteFiles()).hasSize(4);

Review Comment:
   you may want to remove the `result` variable if you're using it directly here



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