From: Tobias Klauser Date: Tue, 19 May 2020 11:29:29 +0000 (+0200) Subject: doc/go1.15: consolidate notes regarding package testing X-Git-Tag: go1.15beta1~134 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8fa468d511b8b1197137ce0ad0ea4260167d2348;p=gostls13.git doc/go1.15: consolidate notes regarding package testing Fold the descriptions of testing.T.Deadline and TestMain related changes into the existing section for package testing. Also link T.Deadline to its godoc. Change-Id: I732c45fb879305099cb8a51a77ef11fba1b2f1e3 Reviewed-on: https://go-review.googlesource.com/c/go/+/234557 Reviewed-by: Bryan C. Mills --- diff --git a/doc/go1.15.html b/doc/go1.15.html index 90baedd916..79b18a3720 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -228,22 +228,6 @@ TODO TODO

-
testing
-
-

- The testing.T type now has a Deadline method - that reports the time at which the test binary will have exceeded its - timeout. -

-

- A TestMain function is no longer required to call - os.Exit. If a TestMain function returns, - the test binary will call os.Exit with the value returned - by m.Run. -

-
-
-

Minor changes to the library

@@ -448,6 +432,20 @@ TODO

testing
+

+ The testing.T type now has a + Deadline method + that reports the time at which the test binary will have exceeded its + timeout. +

+ +

+ A TestMain function is no longer required to call + os.Exit. If a TestMain function returns, + the test binary will call os.Exit with the value returned + by m.Run. +

+

The new methods T.TempDir and