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

Function TestNextFilteredRollback

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

Source from the content-addressed store, hash-verified

328}
329
330func TestNextFilteredRollback(t *testing.T) {
331 sel := Doc().Find(".container-fluid")
332 sel2 := sel.NextFiltered("div").End()
333 assertEqual(t, sel, sel2)
334}
335
336func TestNextFiltered2(t *testing.T) {
337 sel := Doc().Find(".container-fluid").NextFiltered("[ng-view]")

Callers

nothing calls this directly

Calls 5

DocFunction · 0.85
assertEqualFunction · 0.85
FindMethod · 0.80
EndMethod · 0.80
NextFilteredMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…