]> Cypherpunks repositories - gostls13.git/commit
testing: document that Log and Logf do not usually produce output
authorRob Pike <r@golang.org>
Mon, 1 Apr 2013 22:17:00 +0000 (15:17 -0700)
committerRob Pike <r@golang.org>
Mon, 1 Apr 2013 22:17:00 +0000 (15:17 -0700)
commit144dd2b21cd5ca0ff15a89ad5d8e9eba591b0c1e
tree94f15c500115fa9525f060c4c1e5fadf1ba311d4
parenta23dd4fe4e448d7f696360f2c84c7c57a1ccaacf
testing: document that Log and Logf do not usually produce output
The text is printed only if the test fails or -test.v is set.
Document this behavior in the testing package and 'go help test'.
Also put a 'go install' into mkdoc.sh so I don't get tricked by the
process of updating the documentation ever again.

Fixes #5174.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/8118047
src/cmd/go/doc.go
src/cmd/go/mkdoc.sh
src/cmd/go/test.go
src/pkg/testing/testing.go