1
0
mirror of https://github.com/golang/go synced 2024-11-21 21:54:40 -07:00

testing: Fix typo on Logf doc comment.

R=rsc, r2
CC=golang-dev
https://golang.org/cl/4167064
This commit is contained in:
David Symonds 2011-02-22 10:12:18 +11:00
parent ca0d483014
commit 1634390fb1

View File

@ -92,7 +92,7 @@ func (t *T) FailNow() {
// and records the text in the error log.
func (t *T) Log(args ...interface{}) { t.errors += "\t" + tabify(fmt.Sprintln(args...)) }
// Log formats its arguments according to the format, analogous to Printf(),
// Logf formats its arguments according to the format, analogous to Printf(),
// and records the text in the error log.
func (t *T) Logf(format string, args ...interface{}) {
t.errors += "\t" + tabify(fmt.Sprintf(format, args...))