Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/stretchr/testify
/ recoverAndFailOnPanic
Function
recoverAndFailOnPanic
suite/suite.go:80–84 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
78
}
79
80
func
recoverAndFailOnPanic(t *testing.T) {
81
t.Helper()
82
r := recover()
83
failOnPanic(t, r)
84
}
85
86
func
failOnPanic(t *testing.T, r
interface
{}) {
87
t.Helper()
Callers
2
Run
Method · 0.85
Run
Function · 0.85
Calls
2
failOnPanic
Function · 0.85
Helper
Method · 0.65
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…