0
1
mirror of https://github.com/golang/go synced 2024-11-27 14:59:01 +00:00
go/doc/next/6-stdlib/99-minor/testing/36532.md
Ian Lance Taylor 4e1cc09f8b doc/next: update 36532.md to wording suggested in CL
Change-Id: If7a2aa45770d19ee15f8fe99cab62624c2e29ef6
Reviewed-on: https://go-review.googlesource.com/c/go/+/606958
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-08-20 17:36:54 +00:00

3 lines
141 B
Markdown

The new [T.Context] and [B.Context] methods return a context that's canceled
after the test completes and before test cleanup functions run.