Skip to content

Commit 8f559bc

Browse files
uppalabharathodeke-em
authored andcommitted
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 <[email protected]> Reviewed-by: Katie Hockman <[email protected]> Run-TryBot: Emmanuel Odeke <[email protected]> TryBot-Result: Go Bot <[email protected]> Trust: Katie Hockman <[email protected]> Trust: Ian Lance Taylor <[email protected]>
1 parent 8103130 commit 8f559bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/testing/testing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ func fmtDuration(d time.Duration) string {
740740
return fmt.Sprintf("%.2fs", d.Seconds())
741741
}
742742

743-
// TB is the interface common to T and B.
743+
// TB is the interface common to T, B, and F.
744744
type TB interface {
745745
Cleanup(func())
746746
Error(args ...interface{})

0 commit comments

Comments
 (0)