Skip to content

Commit 8fa1487

Browse files
committed
Use static imports only for JUnit
1 parent 3099c75 commit 8fa1487

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/org/apache/commons/beanutils/bugs/Jira422Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
package org.apache.commons.beanutils.bugs;
1919

2020
import static org.junit.jupiter.api.Assertions.assertEquals;
21+
import static org.junit.jupiter.api.Assertions.fail;
2122

2223
import java.beans.BeanInfo;
2324
import java.beans.IndexedPropertyDescriptor;
@@ -27,7 +28,6 @@
2728
import java.util.List;
2829

2930
import org.apache.commons.beanutils.PropertyUtils;
30-
import org.junit.jupiter.api.Assertions;
3131
import org.junit.jupiter.api.Assumptions;
3232
import org.junit.jupiter.api.BeforeAll;
3333
import org.junit.jupiter.api.Test;
@@ -60,7 +60,7 @@ public static void assumeSupportsIndexedLists() throws IntrospectionException {
6060
return;
6161
}
6262
}
63-
Assertions.fail("Could not find PropertyDescriptor for 'file'");
63+
fail("Could not find PropertyDescriptor for 'file'");
6464
}
6565

6666
@Test

0 commit comments

Comments
 (0)