nastra commented on code in PR #9849: URL: https://github.com/apache/iceberg/pull/9849#discussion_r1511201452
########## core/src/test/java/org/apache/iceberg/TestFindFiles.java: ########## @@ -18,40 +18,37 @@ */ package org.apache.iceberg; +import static org.assertj.core.api.Assertions.assertThat; + import java.util.Arrays; +import java.util.List; import java.util.Set; import org.apache.iceberg.expressions.Expressions; import org.apache.iceberg.relocated.com.google.common.collect.ImmutableMap; import org.apache.iceberg.relocated.com.google.common.collect.Iterables; import org.apache.iceberg.relocated.com.google.common.collect.Sets; import org.apache.iceberg.types.Conversions; import org.apache.iceberg.types.Types; -import org.junit.Assert; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; - -@RunWith(Parameterized.class) -public class TestFindFiles extends TableTestBase { - @Parameterized.Parameters(name = "formatVersion = {0}") - public static Object[] parameters() { - return new Object[] {1, 2}; - } - - public TestFindFiles(int formatVersion) { - super(formatVersion); +import org.junit.jupiter.api.TestTemplate; +import org.junit.jupiter.api.extension.ExtendWith; + +@ExtendWith(ParameterizedTestExtension.class) +public class TestFindFiles extends TestBase { + @Parameters(name = "formatVersion = {0}") + public static List<Object> parameters() { Review Comment: ```suggestion protected static List<Object> parameters() { ``` -- 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