(t *testing.T)
| 619 | } |
| 620 | |
| 621 | func TestWrapInnerNoWrapper(t *testing.T) { |
| 622 | doc := Doc2Clone() |
| 623 | doc.Find(".one").WrapInner(".not-exist") |
| 624 | |
| 625 | twos := doc.Find(".two") |
| 626 | assertLength(t, twos.Nodes, 2) |
| 627 | assertLength(t, doc.Find(".one").Nodes, 2) |
| 628 | assertLength(t, doc.Find(".one .two").Nodes, 0) |
| 629 | |
| 630 | printSel(t, doc.Selection) |
| 631 | } |
| 632 | |
| 633 | func TestWrapInnerHtml(t *testing.T) { |
| 634 | doc := Doc2Clone() |
nothing calls this directly
no test coverage detected
searching dependent graphs…