You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
testing: B logs are printed on stdout, but doc says they go to stderr #36257
"Like in tests, benchmark logs are accumulated during execution and dumped to standard output when done."
What did you see instead?
The following is a quote from the third paragraph on Type B:
"Like in tests, benchmark logs are accumulated during execution and dumped to standard error when done."
It's incorrect as it state that the benchmark logs are dumped to standard error
changed the title [-]x/website: testing package (type B) incorrect documentation[/-][+]testing: B logs are printed on stdout, but doc says they go to stderr[/+]on Dec 23, 2019
Activity
ALTree commentedon Dec 23, 2019
Thanks for reporting this.
Apparently the
testing.Tdocumentation had the same issue, but it was fixed in CL 24311. I will send a CL to fixtesting.Btoo.gopherbot commentedon Dec 23, 2019
Change https://golang.org/cl/212457 mentions this issue:
testing: document that benchmark logs are dumped to stdout[-]x/website: testing package (type B) incorrect documentation[/-][+]testing: B logs are printed on stdout, but doc says they go to stderr[/+]