From 8fa468d511b8b1197137ce0ad0ea4260167d2348 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 19 May 2020 13:29:29 +0200 Subject: [PATCH] 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 --- doc/go1.15.html | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/doc/go1.15.html b/doc/go1.15.html index 90baedd9168..79b18a37206 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