Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gorilla/websocket
/ Read
Method
Read
conn_test.go:689–691 ·
view source on GitHub ↗
(p []byte)
Source
from the content-addressed store, hash-verified
687
type
failingReader
struct
{}
688
689
func
(r failingReader) Read(p []byte) (int, error) {
690
return
0, io.EOF
691
}
692
693
func
TestFailedConnectionReadPanic(t *testing.T) {
694
c := newTestConn(failingReader{}, nil, false)
Callers
1
TestReadLimit
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected