(t *testing.T)
| 389 | } |
| 390 | |
| 391 | func Test_App_SetHandlerCtxIfNeeded_CustomCtxFallback(t *testing.T) { |
| 392 | t.Parallel() |
| 393 | |
| 394 | app := New() |
| 395 | ctx := &customCtx{ |
| 396 | DefaultCtx: *NewDefaultCtx(app), |
| 397 | } |
| 398 | |
| 399 | app.setHandlerCtxIfNeeded(ctx) |
| 400 | require.Same(t, ctx, ctx.handlerCtx) |
| 401 | } |
| 402 | |
| 403 | func Test_Ctx_Release_UserContextSetWithoutFastHTTP(t *testing.T) { |
| 404 | t.Parallel() |
nothing calls this directly
no test coverage detected