From 8f559bcb4666b2358c227aa1bd3a82f3b806d45a Mon Sep 17 00:00:00 2001 From: Bharath Kumar Uppala Date: Sun, 21 Nov 2021 02:15:39 +0530 Subject: [PATCH] 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 --- src/testing/testing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{}) -- 2.50.0