aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-02-14 20:35:59 -0800
committerIan Lance Taylor <iant@golang.org>2020-02-15 16:40:12 +0000
commit6917529cc604bad3b7d67579ca8d569442e3d880 (patch)
tree379dd7ea6922991eecaff5c6a0e32b7f4585abab /src/testing/testing.go
parent3eab754cd061bf90ee7b540546bc0863f3ad1d85 (diff)
downloadgo-6917529cc604bad3b7d67579ca8d569442e3d880.tar.gz
go-6917529cc604bad3b7d67579ca8d569442e3d880.zip
testing: remove obsolete comment in testing.(*T) docs
We now only accumulate logs when not using -v. Just drop the sentence entirely rather than try to describe the current situation. Updates #24929 Updates #37203 Change-Id: Ie3bf37894ab68b5b129eff54637893c7a129da03 Reviewed-on: https://go-review.googlesource.com/c/go/+/219540 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/testing/testing.go')
-rw-r--r--src/testing/testing.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/testing/testing.go b/src/testing/testing.go
index 030feb7112..8a0c7b3021 100644
--- a/src/testing/testing.go
+++ b/src/testing/testing.go
@@ -571,7 +571,6 @@ var _ TB = (*T)(nil)
var _ TB = (*B)(nil)
// T is a type passed to Test functions to manage test state and support formatted test logs.
-// Logs are accumulated during execution and dumped to standard output when done.
//
// A test ends when its Test function returns or calls any of the methods
// FailNow, Fatal, Fatalf, SkipNow, Skip, or Skipf. Those methods, as well as