From 7600281bda2611d4a832a0b0bff6ef2e5dfb0abd Mon Sep 17 00:00:00 2001 From: Christopher Wedgwood Date: Mon, 28 Nov 2011 09:50:51 -0800 Subject: [PATCH] bytes: fix test output R=rsc, gri CC=golang-dev https://golang.org/cl/5441048 --- src/pkg/bytes/bytes_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/bytes/bytes_test.go b/src/pkg/bytes/bytes_test.go index 21a1a4f5808..829ef05319c 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 {