mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -431,6 +431,10 @@ public class FileUtilTest {
|
||||
// pr#2617@Github
|
||||
mimeType = FileUtil.getMimeType("test.wgt");
|
||||
Assertions.assertEquals("application/widget", mimeType);
|
||||
|
||||
// issue#3092
|
||||
mimeType = FileUtil.getMimeType("https://xxx.oss-cn-hangzhou.aliyuncs.com/xxx.webp");
|
||||
Assertions.assertEquals("image/webp", mimeType);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user