From: Christopher Wedgwood Date: Mon, 28 Nov 2011 17:50:51 +0000 (-0800) Subject: bytes: fix test output X-Git-Tag: weekly.2011-12-01~37 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7600281bda2611d4a832a0b0bff6ef2e5dfb0abd;p=gostls13.git bytes: fix test output R=rsc, gri CC=golang-dev https://golang.org/cl/5441048 --- 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 {