summaryrefslogtreecommitdiff
path: root/src/lib/testing.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-01-15 13:48:11 -0800
committerRob Pike <r@golang.org>2009-01-15 13:48:11 -0800
commit8024c6e3aec249fcc40b62e8879d30207e879be9 (patch)
treea72b91ed6b55c7c4635039376af421a98695ad60 /src/lib/testing.go
parentd6b313278a61f109ab8b71dd8c77a40ff557b819 (diff)
downloadgolang-8024c6e3aec249fcc40b62e8879d30207e879be9.tar.gz
printf->Printf etc.
the raw fmt routines will be another, smaller but subtler pass. R=rsc DELTA=157 (0 added, 0 deleted, 157 changed) OCL=22851 CL=22851
Diffstat (limited to 'src/lib/testing.go')
-rw-r--r--src/lib/testing.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/testing.go b/src/lib/testing.go
index 12512f5d2..b19367da6 100644
--- a/src/lib/testing.go
+++ b/src/lib/testing.go
@@ -38,11 +38,11 @@ func (t *T) FailNow() {
}
func (t *T) Log(args ...) {
- t.errors += "\t" + Tabify(fmt.sprintln(args));
+ t.errors += "\t" + Tabify(fmt.Sprintln(args));
}
func (t *T) Logf(format string, args ...) {
- t.errors += Tabify(fmt.sprintf("\t" + format, args));
+ t.errors += Tabify(fmt.Sprintf("\t" + format, args));
l := len(t.errors);
if l > 0 && t.errors[l-1] != '\n' {
t.errors += "\n"