MCPcopy Index your code
hub / github.com/PuerkitoBio/goquery / assertPanic

Function assertPanic

type_test.go:79–83  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

77}
78
79func assertPanic(t *testing.T) {
80 if e := recover(); e == nil {
81 t.Error("Expected a panic.")
82 }
83}
84
85func assertEqual(t *testing.T, s1 *Selection, s2 *Selection) {
86 if s1 != s2 {

Callers 6

TestSliceEmptyFunction · 0.85
TestSliceInvalidFunction · 0.85
TestSliceInvalidToEndFunction · 0.85
TestSliceOutOfBoundsFunction · 0.85
TestGetInvalidFunction · 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…