Skip to content

Commit 4ba57c4

Browse files
committed
Use better JUnit API
1 parent 0e3f808 commit 4ba57c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/org/apache/commons/io/function/IOBiFunctionTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
package org.apache.commons.io.function;
1919

20-
import static org.junit.jupiter.api.Assertions.assertEquals;
20+
import static org.junit.jupiter.api.Assertions.assertFalse;
2121
import static org.junit.jupiter.api.Assertions.assertNotEquals;
2222
import static org.junit.jupiter.api.Assertions.assertThrows;
2323
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -53,7 +53,7 @@ public void testAndThenIOFunction() throws IOException {
5353
final IOFunction<Boolean, Boolean> not = this::not;
5454
assertTrue( isDirectory.apply(PathUtils.current(), PathUtils.EMPTY_LINK_OPTION_ARRAY));
5555
final IOBiFunction<Path, LinkOption[], Boolean> andThen = isDirectory.andThen(not);
56-
assertEquals(false, andThen.apply(PathUtils.current(), PathUtils.EMPTY_LINK_OPTION_ARRAY));
56+
assertFalse(andThen.apply(PathUtils.current(), PathUtils.EMPTY_LINK_OPTION_ARRAY));
5757
}
5858

5959
/**

0 commit comments

Comments
 (0)