Commit 81ce1ffc authored by yihua.huang's avatar yihua.huang

fix ignore

parent 93764fa2
...@@ -20,6 +20,7 @@ public class HtmlTest { ...@@ -20,6 +20,7 @@ public class HtmlTest {
assertThat(selectable.regex("(a+b)").replace("aa(a)", "$1bb").toString()).isEqualTo("abbabbab"); assertThat(selectable.regex("(a+b)").replace("aa(a)", "$1bb").toString()).isEqualTo("abbabbab");
} }
@Ignore("not work in jsoup 1.8.x")
@Test @Test
public void testDisableJsoupHtmlEntityEscape() throws Exception { public void testDisableJsoupHtmlEntityEscape() throws Exception {
Html.DISABLE_HTML_ENTITY_ESCAPE = true; Html.DISABLE_HTML_ENTITY_ESCAPE = true;
...@@ -27,7 +28,6 @@ public class HtmlTest { ...@@ -27,7 +28,6 @@ public class HtmlTest {
assertThat(html.regex("(aaaaaaa&b)").toString()).isEqualTo("aaaaaaa&b"); assertThat(html.regex("(aaaaaaa&b)").toString()).isEqualTo("aaaaaaa&b");
} }
@Ignore("not work in jsoup 1.8.x")
@Test @Test
public void testEnableJsoupHtmlEntityEscape() throws Exception { public void testEnableJsoupHtmlEntityEscape() throws Exception {
Html.DISABLE_HTML_ENTITY_ESCAPE = false; Html.DISABLE_HTML_ENTITY_ESCAPE = false;
......
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