summaryrefslogtreecommitdiff
path: root/internal/httpctx/httpctx_test.go
diff options
context:
space:
mode:
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 {