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

Function TestPrevFilteredRollback

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

Source from the content-addressed store, hash-verified

371}
372
373func TestPrevFilteredRollback(t *testing.T) {
374 sel := Doc().Find(".row-fluid")
375 sel2 := sel.PrevFiltered(".row-fluid").End()
376 assertEqual(t, sel, sel2)
377}
378
379func TestNextAll(t *testing.T) {
380 sel := Doc().Find("#cf2 div:nth-child(1)").NextAll()

Callers

nothing calls this directly

Calls 5

DocFunction · 0.85
assertEqualFunction · 0.85
FindMethod · 0.80
EndMethod · 0.80
PrevFilteredMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…