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

Function TestNextAllRollback

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

Source from the content-addressed store, hash-verified

382}
383
384func TestNextAllRollback(t *testing.T) {
385 sel := Doc().Find("#cf2 div:nth-child(1)")
386 sel2 := sel.NextAll().End()
387 assertEqual(t, sel, sel2)
388}
389
390func TestNextAll2(t *testing.T) {
391 sel := Doc().Find("div[ng-cloak]").NextAll()

Callers

nothing calls this directly

Calls 5

DocFunction · 0.85
assertEqualFunction · 0.85
FindMethod · 0.80
EndMethod · 0.80
NextAllMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…