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

Function TestNextAll

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

Source from the content-addressed store, hash-verified

377}
378
379func TestNextAll(t *testing.T) {
380 sel := Doc().Find("#cf2 div:nth-child(1)").NextAll()
381 assertLength(t, sel.Nodes, 3)
382}
383
384func TestNextAllRollback(t *testing.T) {
385 sel := Doc().Find("#cf2 div:nth-child(1)")

Callers

nothing calls this directly

Calls 4

DocFunction · 0.85
assertLengthFunction · 0.85
NextAllMethod · 0.80
FindMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…