commit | 1959c3ac5bcc901115878babe74b819026de97be | [log] [tgz] |
---|---|---|
author | Rob Pike <r@golang.org> | Thu Sep 23 13:48:56 2010 +1000 |
committer | Rob Pike <r@golang.org> | Thu Sep 23 13:48:56 2010 +1000 |
tree | 02e23329756accd113aea80697c312104443b4cf | |
parent | c10865ce536684eec13ab7b1499ef74c07420cd2 [diff] [blame] |
tests: fix prints - delete unnecessary newlines - make sure formatted prints call the formatting routines R=adg CC=golang-dev https://golang.org/cl/2225046
diff --git a/src/pkg/expvar/expvar_test.go b/src/pkg/expvar/expvar_test.go index 98cd9c2..dc173b9 100644 --- a/src/pkg/expvar/expvar_test.go +++ b/src/pkg/expvar/expvar_test.go
@@ -76,7 +76,7 @@ t.Error("red.Kind() is not a number.") } if x != 3 { - t.Error("red = %v, want 3", x) + t.Errorf("red = %v, want 3", x) } }