1
0
mirror of https://github.com/golang/go synced 2024-11-22 19:54:39 -07:00
go/api/next/36532.txt
Vladimir Varankin f432b5f756 testing: add Context
Adds a new Context method to testing.T, that returns a context, that is
canceled before the end of its test function.

Fixes #36532.

Change-Id: I9315ad4dad25529d0b5be809e2d9db4e7528b5f2
GitHub-Last-Rev: 1c3fd6c4d8
GitHub-Pull-Request: golang/go#68828
Reviewed-on: https://go-review.googlesource.com/c/go/+/603959
Auto-Submit: Alan Donovan <adonovan@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
2024-08-20 14:58:54 +00:00

5 lines
239 B
Plaintext

pkg testing, method (*B) Context() context.Context #36532
pkg testing, method (*F) Context() context.Context #36532
pkg testing, method (*T) Context() context.Context #36532
pkg testing, type TB interface, Context() context.Context #36532