snuyanzin commented on code in PR #27477:
URL: https://github.com/apache/flink/pull/27477#discussion_r2735325509
##########
flink-core/src/test/java/org/apache/flink/testutils/ClassLoaderUtilsTest.java:
##########
@@ -18,37 +18,36 @@
package org.apache.flink.testutils;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
import java.util.function.Supplier;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotEquals;
-import static org.junit.Assert.fail;
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.assertj.core.api.Assertions.fail;
/** Tests for the {@link ClassLoaderUtils}. */
-public class ClassLoaderUtilsTest {
+class ClassLoaderUtilsTest {
@Test
- public void testObjectFromNewClassLoaderObject() throws Exception {
+ void testObjectFromNewClassLoaderObject() throws Exception {
Review Comment:
why do we still need `Exception` here and below?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]