aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Wedgwood <cw@f00f.org>2011-11-28 09:50:51 -0800
committerRobert Griesemer <gri@golang.org>2011-11-28 09:50:51 -0800
commit7600281bda2611d4a832a0b0bff6ef2e5dfb0abd (patch)
tree8f91050439319536cbb69e5c7b187c300b51e601
parent62203141ac0d3222dbdf35c4ed97356e0da9486b (diff)
downloadgo-7600281bda2611d4a832a0b0bff6ef2e5dfb0abd.tar.gz
go-7600281bda2611d4a832a0b0bff6ef2e5dfb0abd.zip
bytes: fix test output
R=rsc, gri CC=golang-dev https://golang.org/cl/5441048
-rw-r--r--src/pkg/bytes/bytes_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/bytes/bytes_test.go b/src/pkg/bytes/bytes_test.go
index 21a1a4f580..829ef05319 100644
--- a/src/pkg/bytes/bytes_test.go
+++ b/src/pkg/bytes/bytes_test.go
@@ -702,7 +702,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 := string(f([]byte(tc.in), tc.cutset))
if actual != tc.out {