1
0
mirror of https://github.com/golang/go synced 2024-11-17 14:04:48 -07:00

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 <emmanuel@orijtech.com>
Reviewed-by: Katie Hockman <katie@golang.org>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Katie Hockman <katie@golang.org>
Trust: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Bharath Kumar Uppala 2021-11-21 02:15:39 +05:30 committed by Emmanuel Odeke
parent 81031300a7
commit 8f559bcb46

View File

@ -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{})