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

Function TestResponse_Unwrap

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

Source from the content-addressed store, hash-verified

67}
68
69func TestResponse_Unwrap(t *testing.T) {
70 e := New()
71 rec := httptest.NewRecorder()
72 res := NewResponse(rec, e.Logger)
73
74 assert.Equal(t, rec, res.Unwrap())
75}
76
77func TestResponse_isHijacker(t *testing.T) {
78 var resp http.ResponseWriter = &Response{}

Callers

nothing calls this directly

Calls 3

UnwrapMethod · 0.95
NewFunction · 0.85
NewResponseFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…