mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix double bug
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
package cn.hutool.core.io;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import cn.hutool.core.lang.Console;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import cn.hutool.core.io.FileTypeUtil;
|
||||
import cn.hutool.core.io.FileUtil;
|
||||
import cn.hutool.core.lang.Console;
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* 文件类型判断单元测试
|
||||
@@ -36,4 +33,12 @@ public class FileTypeUtilTest {
|
||||
String type = FileTypeUtil.getType(file);
|
||||
Console.log(type);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void docTest() {
|
||||
File file = FileUtil.file("f:/test/test.doc");
|
||||
String type = FileTypeUtil.getType(file);
|
||||
Console.log(type);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user