diff --git a/CHANGELOG.md b/CHANGELOG.md index 61b3553bd..aa1d3e64d 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,11 @@ # 🚀Changelog ------------------------------------------------------------------------------------------------------------- -# 5.8.36(2025-01-09) +# 5.8.36(2025-01-10) ### 🐣新特性 * 【crypto 】 增加BCUtil.decodeECPrivateKey方法(issue#3829@Github) +* 【core 】 增加HtmlUtil.cleanEmptyTag方法(pr#3838@Github) ### 🐞Bug修复 * 【aop 】 修复ProxyUtil可能的空指针问题(issue#IBF20Z@Gitee) * 【core 】 修复XmlUtil转义调用方法错误问题,修复XmlEscape未转义单引号问题(pr#3837@Github) diff --git a/hutool-http/src/test/java/cn/hutool/http/HtmlUtilTest.java b/hutool-http/src/test/java/cn/hutool/http/HtmlUtilTest.java index 2c4487768..585c61266 100644 --- a/hutool-http/src/test/java/cn/hutool/http/HtmlUtilTest.java +++ b/hutool-http/src/test/java/cn/hutool/http/HtmlUtilTest.java @@ -1,8 +1,9 @@ package cn.hutool.http; -import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.Test; +import static org.junit.jupiter.api.Assertions.assertEquals; + /** * Html单元测试 * @@ -78,7 +79,7 @@ public class HtmlUtilTest { } @Test - public void cleanEmptyTag() { + public void cleanEmptyTagTest() { String str = "
"; String result = HtmlUtil.cleanEmptyTag(str); assertEquals("", result);