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

Function assertEqual

type_test.go:85–89  ·  view source on GitHub ↗
(t *testing.T, s1 *Selection, s2 *Selection)

Source from the content-addressed store, hash-verified

83}
84
85func assertEqual(t *testing.T, s1 *Selection, s2 *Selection) {
86 if s1 != s2 {
87 t.Error("Expected selection objects to be the same.")
88 }
89}
90
91func assertSelectionIs(t *testing.T, sel *Selection, is ...string) {
92 for i := 0; i < sel.Length(); i++ {

Callers 15

TestFindRollbackFunction · 0.85
TestChildrenRollbackFunction · 0.85
TestContentsRollbackFunction · 0.85
TestParentRollbackFunction · 0.85
TestParentsRollbackFunction · 0.85
TestParentsUntilRollbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…