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


##########
spark/v3.5/spark/src/test/java/org/apache/iceberg/spark/source/TestFilteredScan.java:
##########
@@ -314,7 +317,7 @@ public void testDayPartitionedTimestampFilters() {
       Batch scan = builder.build().toBatch();
 
       InputPartition[] tasks = scan.planInputPartitions();
-      Assert.assertEquals("Should create one task for 2017-12-21", 1, 
tasks.length);
+      assertThat(tasks).as("Should only create one task for 
2017-12-21").hasSize(1);

Review Comment:
   ```suggestion
         assertThat(tasks).as("Should create one task for 
2017-12-21").hasSize(1);
   ```



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