]> Cypherpunks repositories - gostls13.git/commitdiff
testing: mention that TB also covers the new type F
authorBharath Kumar Uppala <uppala.bharath@gmail.com>
Sat, 20 Nov 2021 20:45:39 +0000 (02:15 +0530)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Mon, 22 Nov 2021 19:43:16 +0000 (19:43 +0000)
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>

src/testing/testing.go

index 3458b46d97b6bd5e4d89b03377a4f227beb3981c..e4b7aa30e555525ee184f2fa697297c024fb42cb 100644 (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{})