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

Function TestFirstInvalid

array_test.go:17–20  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15}
16
17func TestFirstInvalid(t *testing.T) {
18 sel := Doc().Find("").First()
19 assertLength(t, sel.Nodes, 0)
20}
21
22func TestFirstRollback(t *testing.T) {
23 sel := Doc().Find(".pvk-content")

Callers

nothing calls this directly

Calls 4

DocFunction · 0.85
assertLengthFunction · 0.85
FirstMethod · 0.80
FindMethod · 0.80

Tested by

no test coverage detected