Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coder/websocket
/ TestGoRecover
Function
TestGoRecover
internal/xsync/go_test.go:9–18 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
7
)
8
9
func
TestGoRecover(t *testing.T) {
10
t.Parallel()
11
12
errs := Go(
func
() error {
13
panic(
"anmol"
)
14
})
15
16
err := <-errs
17
assert.Contains(t, err,
"anmol"
)
18
}
Callers
nothing calls this directly
Calls
2
Contains
Function · 0.92
Go
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…