diff options
author | Christopher Wedgwood <cw@f00f.org> | 2011-11-28 09:50:51 -0800 |
---|---|---|
committer | Christopher Wedgwood <cw@f00f.org> | 2011-11-28 09:50:51 -0800 |
commit | 7c568c04fae88f57989991496fa2aa08cf12877e (patch) | |
tree | 5f445fb426ae64e83614ddc00cb785695c1416d8 | |
parent | 8c25f8cf4a06cbab46b07e0a1fa95a9a91df71af (diff) | |
download | go-7c568c04fae88f57989991496fa2aa08cf12877e.tar.gz |
bytes: fix test output
R=rsc, gri
CC=golang-dev
http://codereview.appspot.com/5441048
Committer: Robert Griesemer <gri@golang.org>
-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 21a1a4f58..829ef0531 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 { |