summaryrefslogtreecommitdiff
path: root/internal/httpctx/httpctx_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-20 09:38:01 +0300
committerPaul Buetow <paul@buetow.org>2026-04-20 09:38:01 +0300
commit5bb121911e9b60704154bbc89e238b97439e2bcf (patch)
treef56da042d8e346cabbcd271d625518ebd267a4ad /internal/httpctx/httpctx_test.go
parente670494adfe00a1fa55c7e8ffcbf0172ff662cce (diff)
z4: fix verification lint cleanup
Diffstat (limited to 'internal/httpctx/httpctx_test.go')
-rw-r--r--internal/httpctx/httpctx_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/httpctx/httpctx_test.go b/internal/httpctx/httpctx_test.go
index ffad68c..e9f2a85 100644
--- a/internal/httpctx/httpctx_test.go
+++ b/internal/httpctx/httpctx_test.go
@@ -41,7 +41,7 @@ func TestWithTimeoutUnlessSet_NoDeadline(t *testing.T) {
func TestWithTimeoutUnlessSet_NilUsesBackground(t *testing.T) {
t.Parallel()
- ctx, cancel := WithTimeoutUnlessSet(nil, 50*time.Millisecond)
+ ctx, cancel := WithTimeoutUnlessSet(context.Background(), 50*time.Millisecond)
defer cancel()
if err := ctx.Err(); err != nil {