nastra commented on code in PR #9793: URL: https://github.com/apache/iceberg/pull/9793#discussion_r1568263144
########## data/src/test/java/org/apache/iceberg/data/DataTestHelpers.java: ########## @@ -84,16 +86,15 @@ private static void assertEquals(Type type, Object expected, Object actual) { case UUID: case BINARY: case DECIMAL: - Assert.assertEquals( - "Primitive value should be equal to expected for type " + type, expected, actual); + org.junit.jupiter.api.Assertions.assertEquals( + expected, actual, "Primitive value should be equal to expected for type " + type); break; case FIXED: Assertions.assertThat(expected) .as("Expected should be a byte[]") .isInstanceOf(byte[].class); Assertions.assertThat(expected).as("Actual should be a byte[]").isInstanceOf(byte[].class); - Assert.assertArrayEquals( - "Array contents should be equal", (byte[]) expected, (byte[]) actual); + Assertions.assertThat((byte[]) actual).as("Array contents should be equal").isEqualTo( (byte[]) expected); Review Comment: ```suggestion Assertions.assertThat(actual).isEqualTo(expected); ``` -- 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