diff --git a/internal/cleanup/context_test.go b/internal/cleanup/context_test.go index ced1c3d41..82ef9348f 100644 --- a/internal/cleanup/context_test.go +++ b/internal/cleanup/context_test.go @@ -27,7 +27,7 @@ func TestBackground(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) var k struct{} v := "incontext" - ctx = context.WithValue(ctx, k, v) + ctx = context.WithValue(ctx, k, v) //nolint:staticcheck assert.Nil(t, contextError(ctx)) assert.Equal(t, ctx.Value(k), v)