]> Cypherpunks repositories - gostls13.git/commitdiff
testing: remove obsolete comment in testing.(*T) docs
authorIan Lance Taylor <iant@golang.org>
Sat, 15 Feb 2020 04:35:59 +0000 (20:35 -0800)
committerIan Lance Taylor <iant@golang.org>
Sat, 15 Feb 2020 16:40:12 +0000 (16:40 +0000)
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>
src/testing/testing.go

index 030feb71126bafc4b5337d3296a792820a1cf2fc..8a0c7b3021ab2711122c9891d15e03a57454082f 100644 (file)
@@ -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