diff options
author | Christopher Wedgwood <cw@f00f.org> | 2011-11-28 09:50:51 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2011-11-28 09:50:51 -0800 |
commit | 7600281bda2611d4a832a0b0bff6ef2e5dfb0abd (patch) | |
tree | 8f91050439319536cbb69e5c7b187c300b51e601 | |
parent | 62203141ac0d3222dbdf35c4ed97356e0da9486b (diff) | |
download | go-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.go | 2 |
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 { |