MCPcopy
hub / github.com/labstack/echo / TestResponse_UnwrapResponse

Function TestResponse_UnwrapResponse

response_test.go:119–125  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

117}
118
119func TestResponse_UnwrapResponse(t *testing.T) {
120 orgRes := NewResponse(httptest.NewRecorder(), nil)
121 res, err := UnwrapResponse(orgRes)
122
123 assert.NotNil(t, res)
124 assert.NoError(t, err)
125}
126
127func TestResponse_UnwrapResponse_error(t *testing.T) {
128 rw := new(testResponseWriter)

Callers

nothing calls this directly

Calls 2

NewResponseFunction · 0.85
UnwrapResponseFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…