From: Bharath Kumar Uppala Date: Sat, 20 Nov 2021 20:45:39 +0000 (+0530) Subject: testing: mention that TB also covers the new type F X-Git-Tag: go1.18beta1~215 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8f559bcb4666b2358c227aa1bd3a82f3b806d45a;p=gostls13.git testing: mention that TB also covers the new type F Fixes #48146 Change-Id: I7c667a7915db81558514bc9fada6898c565eb0fd Reviewed-on: https://go-review.googlesource.com/c/go/+/365894 Reviewed-by: Emmanuel Odeke Reviewed-by: Katie Hockman Run-TryBot: Emmanuel Odeke TryBot-Result: Go Bot Trust: Katie Hockman Trust: Ian Lance Taylor --- diff --git a/src/testing/testing.go b/src/testing/testing.go index 3458b46d97..e4b7aa30e5 100644 --- a/src/testing/testing.go +++ b/src/testing/testing.go @@ -740,7 +740,7 @@ func fmtDuration(d time.Duration) string { return fmt.Sprintf("%.2fs", d.Seconds()) } -// TB is the interface common to T and B. +// TB is the interface common to T, B, and F. type TB interface { Cleanup(func()) Error(args ...interface{})