(t *testing.T)
| 486 | } |
| 487 | |
| 488 | func TestNextUntilSelection(t *testing.T) { |
| 489 | sel := Doc2().Find("#n2") |
| 490 | sel2 := Doc2().Find("#n4") |
| 491 | sel2 = sel.NextUntilSelection(sel2) |
| 492 | assertLength(t, sel2.Nodes, 1) |
| 493 | assertSelectionIs(t, sel2, "#n3") |
| 494 | } |
| 495 | |
| 496 | func TestNextUntilSelectionRollback(t *testing.T) { |
| 497 | sel := Doc2().Find("#n2") |
nothing calls this directly
no test coverage detected
searching dependent graphs…