compile error fix
parent
c5740b1840
commit
56e0cd513a
|
@ -39,7 +39,7 @@ public class HtmlTest {
|
|||
assertThat(html.links().all()).contains("/xx/xx");
|
||||
}
|
||||
|
||||
@Test(expected = NullPointerException)
|
||||
@Test(expected = NullPointerException.class)
|
||||
public void testNthNodesGet(){
|
||||
Html html = new Html("<a data-tip=\"p$t$xxx\" href=\"/xx/xx\">xx</a>");
|
||||
assertThat(html.xpath("//a[1]/@href").get()).isEqualTo("/xx/xx");
|
||||
|
|
Loading…
Reference in New Issue