Commit 4446669c authored by yihua.huang's avatar yihua.huang

fix test

parent 9866297e
...@@ -20,6 +20,7 @@ public class HtmlTest { ...@@ -20,6 +20,7 @@ public class HtmlTest {
@Test @Test
public void testDisableJsoupHtmlEntityEscape() throws Exception { public void testDisableJsoupHtmlEntityEscape() throws Exception {
Html.DISABLE_HTML_ENTITY_ESCAPE = true;
Html html = new Html("aaaaaaa&b"); Html html = new Html("aaaaaaa&b");
assertThat(html.regex("(aaaaaaa&b)").toString()).isEqualTo("aaaaaaa&b"); assertThat(html.regex("(aaaaaaa&b)").toString()).isEqualTo("aaaaaaa&b");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment