This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push:
new 4ba57c4ac Use better JUnit API
4ba57c4ac is described below
commit 4ba57c4acb84249553e7e9383212a89590e12b53
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Mar 22 16:15:07 2024 -0400
Use better JUnit API
---
src/test/java/org/apache/commons/io/function/IOBiFunctionTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/commons/io/function/IOBiFunctionTest.java
b/src/test/java/org/apache/commons/io/function/IOBiFunctionTest.java
index 8a80a6427..350a35100 100644
--- a/src/test/java/org/apache/commons/io/function/IOBiFunctionTest.java
+++ b/src/test/java/org/apache/commons/io/function/IOBiFunctionTest.java
@@ -17,7 +17,7 @@
package org.apache.commons.io.function;
-import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -53,7 +53,7 @@ public class IOBiFunctionTest {
final IOFunction<Boolean, Boolean> not = this::not;
assertTrue( isDirectory.apply(PathUtils.current(),
PathUtils.EMPTY_LINK_OPTION_ARRAY));
final IOBiFunction<Path, LinkOption[], Boolean> andThen =
isDirectory.andThen(not);
- assertEquals(false, andThen.apply(PathUtils.current(),
PathUtils.EMPTY_LINK_OPTION_ARRAY));
+ assertFalse(andThen.apply(PathUtils.current(),
PathUtils.EMPTY_LINK_OPTION_ARRAY));
}
/**