mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix ZipUtil bug
This commit is contained in:
@@ -377,4 +377,11 @@ public class FileUtilTest {
|
||||
String mimeType = FileUtil.getMimeType("test2Write.jpg");
|
||||
Assert.assertEquals("image/jpeg", mimeType);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void isSubTest() {
|
||||
File file = new File("d:/test");
|
||||
File file2 = new File("d:/test2/aaa");
|
||||
Assert.assertFalse(FileUtil.isSub(file, file2));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user