diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-21 22:34:55 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-21 22:34:55 +0300 |
| commit | d558ed55df855e3ce01b19e7f1b1fe44dce8e64a (patch) | |
| tree | 8285bce505da6384a9d430af6aef9834b90d96d4 /internal/httpctx/httpctx_test.go | |
| parent | d773e26b19dcea2f4a1917ebb6edaa4f5721693f (diff) | |
Audit stripped comicgen leftovers
Diffstat (limited to 'internal/httpctx/httpctx_test.go')
| -rw-r--r-- | internal/httpctx/httpctx_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/httpctx/httpctx_test.go b/internal/httpctx/httpctx_test.go index 6cd6521..d82dc99 100644 --- a/internal/httpctx/httpctx_test.go +++ b/internal/httpctx/httpctx_test.go @@ -43,10 +43,10 @@ func TestWithTimeoutUnlessSet_NoDeadline(t *testing.T) { } } -func TestWithTimeoutUnlessSet_NilUsesBackground(t *testing.T) { +func TestWithTimeoutUnlessSet_TODOContext(t *testing.T) { t.Parallel() - ctx, cancel := WithTimeoutUnlessSet(nil, 50*time.Millisecond) + ctx, cancel := WithTimeoutUnlessSet(context.TODO(), 50*time.Millisecond) defer cancel() if err := ctx.Err(); err != nil { |
