From 6624771c8346d69ef41526b1134c505bca399340 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 27 May 2021 17:33:01 -0700 Subject: [PATCH] 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 --- doc/go1.17.html | 8 ++++++++ 1 file changed, 8 insertions(+) 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. +

-- 2.48.1