MCPcopy
hub / github.com/PuerkitoBio/goquery / TestPrevFilteredUntilSelectionRollback

Function TestPrevFilteredUntilSelectionRollback

traversal_test.go:649–654  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

647}
648
649func TestPrevFilteredUntilSelectionRollback(t *testing.T) {
650 sel := Doc2().Find(".even")
651 sel2 := Doc2().Find(".five")
652 sel3 := sel.PrevFilteredUntilSelection(".even", sel2).End()
653 assertEqual(t, sel, sel3)
654}
655
656func TestPrevFilteredUntilNodes(t *testing.T) {
657 sel := Doc2().Find(".even")

Callers

nothing calls this directly

Calls 5

Doc2Function · 0.85
assertEqualFunction · 0.85
FindMethod · 0.80
EndMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…