aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Wedgwood <cw@f00f.org>2011-11-28 09:51:03 -0800
committerRobert Griesemer <gri@golang.org>2011-11-28 09:51:03 -0800
commit356b8ee26fa02643b166ae77870e24293260ba90 (patch)
tree6b3ba77aa06f497096047895d94aa3d9e5196506
parent7600281bda2611d4a832a0b0bff6ef2e5dfb0abd (diff)
downloadgo-356b8ee26fa02643b166ae77870e24293260ba90.tar.gz
go-356b8ee26fa02643b166ae77870e24293260ba90.zip
strings: fix test output
R=rsc, gri CC=golang-dev https://golang.org/cl/5445044
-rw-r--r--src/pkg/strings/strings_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/strings/strings_test.go b/src/pkg/strings/strings_test.go
index 5308e8b7e4..957af67b2b 100644
--- a/src/pkg/strings/strings_test.go
+++ b/src/pkg/strings/strings_test.go
@@ -527,7 +527,7 @@ func TestTrim(t *testing.T) {
case "TrimRight":
f = TrimRight
default:
- t.Error("Undefined trim function %s", name)
+ t.Errorf("Undefined trim function %s", name)
}
actual := f(tc.in, tc.cutset)
if actual != tc.out {