mirror of
https://github.com/golang/go
synced 2024-11-14 18:10:27 -07:00
f432b5f756
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>
5 lines
239 B
Plaintext
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
|