diff --git a/doc/go1.17.html b/doc/go1.17.html index a1118cf50a..f9156a30dc 100644 --- a/doc/go1.17.html +++ b/doc/go1.17.html @@ -659,7 +659,11 @@ Do not send CLs removing the interior tags from such phrases.
testing

- Added a new testing flag -shuffle which alters the execution order of tests and benchmarks. + Added a new testing flag -shuffle which alters the execution order of tests and benchmarks. +

+

+ testing.T now has a Setenv method to set up environment variables + only for the isolated lifetime of the test, and will clean up and unset these variables when the test ends.