From: Ian Lance Taylor Date: Fri, 28 May 2021 00:33:01 +0000 (-0700) Subject: doc/go1.17: mention testing.[TB].Setenv methods X-Git-Tag: go1.17beta1~68 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6624771c83;p=gostls13.git doc/go1.17: mention testing.[TB].Setenv methods For #41260 For #44513 Change-Id: I47ac0c751dafeb05abfe66fdf77938774164915f Reviewed-on: https://go-review.googlesource.com/c/go/+/323353 Trust: Ian Lance Taylor Reviewed-by: roger peppe --- diff --git a/doc/go1.17.html b/doc/go1.17.html index 3e9587dbf7..9d775e169a 100644 --- a/doc/go1.17.html +++ b/doc/go1.17.html @@ -628,6 +628,14 @@ Do not send CLs removing the interior tags from such phrases.

TODO: https://golang.org/cl/310033: add -shuffle=off|on|N to alter the execution order of tests and benchmarks

+ +

+ The new + T.Setenv + and B.Setenv + methods support setting an environment variable for the duration + of the test or benchmark. +