(t *testing.T)
| 87 | } |
| 88 | |
| 89 | func TestAppendBody(t *testing.T) { |
| 90 | doc := Doc2Clone() |
| 91 | doc.Find("body").Append("#nf6") |
| 92 | |
| 93 | assertLength(t, doc.Find("#foot #nf6").Nodes, 0) |
| 94 | assertLength(t, doc.Find("#main #nf6").Nodes, 0) |
| 95 | assertLength(t, doc.Find("body > #nf6").Nodes, 1) |
| 96 | printSel(t, doc.Selection) |
| 97 | } |
| 98 | |
| 99 | func TestAppendSelection(t *testing.T) { |
| 100 | doc := Doc2Clone() |
nothing calls this directly
no test coverage detected
searching dependent graphs…