(t *testing.T)
| 30 | } |
| 31 | |
| 32 | func TestAfterWithRemoved(t *testing.T) { |
| 33 | doc := Doc2Clone() |
| 34 | s := doc.Find("#main").Remove() |
| 35 | s.After("#nf6") |
| 36 | |
| 37 | assertLength(t, s.Find("#nf6").Nodes, 0) |
| 38 | assertLength(t, doc.Find("#nf6").Nodes, 0) |
| 39 | printSel(t, doc.Selection) |
| 40 | } |
| 41 | |
| 42 | func TestAfterSelection(t *testing.T) { |
| 43 | doc := Doc2Clone() |