MCPcopy Index your code
hub / github.com/labstack/echo / TestResponse_UnwrapResponse_error

Function TestResponse_UnwrapResponse_error

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

Source from the content-addressed store, hash-verified

125}
126
127func TestResponse_UnwrapResponse_error(t *testing.T) {
128 rw := new(testResponseWriter)
129 res, err := UnwrapResponse(rw)
130
131 assert.Nil(t, res)
132 assert.EqualError(t, err, "ResponseWriter does not implement 'Unwrap() http.ResponseWriter' interface or unwrap to *echo.Response")
133}

Callers

nothing calls this directly

Calls 1

UnwrapResponseFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…