Skip to content

Commit c6b680e

Browse files
committed
Add missing static imports for JUnit 5 assertions in HDFS module
Added missing static imports: - import static org.junit.jupiter.api.Assertions.fail; - import static org.junit.jupiter.api.Assertions.assertTrue; These were previously imported from JUnit 4 and are needed for the fail() and assertTrue() method calls in the test code.
1 parent a98d060 commit c6b680e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

commons-vfs2-hdfs/src/test/java/org/apache/commons/vfs2/provider/hdfs/HdfsFileProviderTestCase.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
package org.apache.commons.vfs2.provider.hdfs;
1818

1919
import static org.apache.commons.vfs2.VfsTestUtils.getTestDirectoryFile;
20+
import static org.junit.jupiter.api.Assertions.fail;
21+
import static org.junit.jupiter.api.Assertions.assertTrue;
2022

2123
import java.io.File;
2224
import java.io.IOException;

0 commit comments

Comments
 (0)