(t *testing.T)
| 50 | } |
| 51 | |
| 52 | func TestAfterHtml(t *testing.T) { |
| 53 | doc := Doc2Clone() |
| 54 | doc.Find("#main").AfterHtml("<strong>new node</strong>") |
| 55 | |
| 56 | assertLength(t, doc.Find("#main + strong").Nodes, 1) |
| 57 | printSel(t, doc.Selection) |
| 58 | } |
| 59 | |
| 60 | func TestAfterHtmlContext(t *testing.T) { |
| 61 | doc := loadString(t, ` |
nothing calls this directly
no test coverage detected
searching dependent graphs…