]> Cypherpunks repositories - gostls13.git/commitdiff
testing: Fix typo on Logf doc comment.
authorDavid Symonds <dsymonds@golang.org>
Mon, 21 Feb 2011 23:12:18 +0000 (10:12 +1100)
committerDavid Symonds <dsymonds@golang.org>
Mon, 21 Feb 2011 23:12:18 +0000 (10:12 +1100)
R=rsc, r2
CC=golang-dev
https://golang.org/cl/4167064

src/pkg/testing/testing.go

index 977252baeaa694f73141db0a742dd479d8665093..cc314519141f342da7c9d1b57331e73ab0865650 100644 (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...))