diff options
author | Rob Pike <r@golang.org> | 2013-04-01 15:17:00 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2013-04-01 15:17:00 -0700 |
commit | d172203aa3b1b6b6bee2ce4d823ca6ac893bc340 (patch) | |
tree | 872be934e77dce4e0abd77bdce3fe992ef0880f8 /src/cmd/go/mkdoc.sh | |
parent | 06469c8d3849e5672725f66c162d44580c6ca665 (diff) | |
download | go-d172203aa3b1b6b6bee2ce4d823ca6ac893bc340.tar.gz |
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 issue 5174.
R=golang-dev, dsymonds
CC=golang-dev
https://codereview.appspot.com/8118047
Diffstat (limited to 'src/cmd/go/mkdoc.sh')
-rwxr-xr-x | src/cmd/go/mkdoc.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/go/mkdoc.sh b/src/cmd/go/mkdoc.sh index 7768baeb6..12fd7ba3e 100755 --- a/src/cmd/go/mkdoc.sh +++ b/src/cmd/go/mkdoc.sh @@ -3,6 +3,7 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. +go install # So the next line will produce updated documentation. go help documentation > doc.go gofmt -w doc.go |