(t *testing.T)
| 13 | } |
| 14 | |
| 15 | func TestUnwrapWithoutWrap(t *testing.T) { |
| 16 | w := httptest.NewRecorder() |
| 17 | if _, ok := Unwrap(w).(*httptest.ResponseRecorder); !ok { |
| 18 | t.Error("expected ResponseRecorder") |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | func TestUnwrapMultipleLayers(t *testing.T) { |
| 23 | w := Wrap(Wrap(httptest.NewRecorder(), Hooks{}), Hooks{}) |
nothing calls this directly
no test coverage detected
searching dependent graphs…