From fc762d98726cbc68a9a16f63f3ae1448825b6a80 Mon Sep 17 00:00:00 2001 From: Looly Date: Thu, 25 Jan 2024 15:57:21 +0800 Subject: [PATCH] add test --- .../java/cn/hutool/http/IssueI8YV0KTest.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 hutool-http/src/test/java/cn/hutool/http/IssueI8YV0KTest.java diff --git a/hutool-http/src/test/java/cn/hutool/http/IssueI8YV0KTest.java b/hutool-http/src/test/java/cn/hutool/http/IssueI8YV0KTest.java new file mode 100644 index 000000000..f6dbf1173 --- /dev/null +++ b/hutool-http/src/test/java/cn/hutool/http/IssueI8YV0KTest.java @@ -0,0 +1,19 @@ +package cn.hutool.http; + +import org.junit.Assert; +import org.junit.Test; + +public class IssueI8YV0KTest { + + @Test + public void removeHtmlAttrTest(){ + final String str = ""; + Assert.assertEquals("", HtmlUtil.removeHtmlAttr(str, "styleCode")); + } + + @Test + public void removeHtmlAttrTest2(){ + final String str = ""; + Assert.assertEquals("", HtmlUtil.removeHtmlAttr(str, "styleCode")); + } +}