MCPcopy Create free account
hub / github.com/PuerkitoBio/goquery / TestAddBackFiltered

Function TestAddBackFiltered

expand_test.go:109–112  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

107}
108
109func TestAddBackFiltered(t *testing.T) {
110 sel := Doc().Find(".span12, .footer").Find("h1").AddBackFiltered(".footer")
111 assertLength(t, sel.Nodes, 2)
112}
113
114func TestAddBackFilteredRollback(t *testing.T) {
115 sel := Doc().Find(".span12, .footer")

Callers

nothing calls this directly

Calls 4

DocFunction · 0.85
assertLengthFunction · 0.85
AddBackFilteredMethod · 0.80
FindMethod · 0.80

Tested by

no test coverage detected