(t *testing.T)
| 639 | } |
| 640 | |
| 641 | func TestPrevFilteredUntilSelection(t *testing.T) { |
| 642 | sel := Doc2().Find(".odd") |
| 643 | sel2 := Doc2().Find(".two") |
| 644 | sel = sel.PrevFilteredUntilSelection(".odd", sel2) |
| 645 | assertLength(t, sel.Nodes, 2) |
| 646 | assertSelectionIs(t, sel, "#n4", "#nf4") |
| 647 | } |
| 648 | |
| 649 | func TestPrevFilteredUntilSelectionRollback(t *testing.T) { |
| 650 | sel := Doc2().Find(".even") |
nothing calls this directly
no test coverage detected
searching dependent graphs…