From 356b8ee26fa02643b166ae77870e24293260ba90 Mon Sep 17 00:00:00 2001 From: Christopher Wedgwood Date: Mon, 28 Nov 2011 09:51:03 -0800 Subject: [PATCH] strings: fix test output R=rsc, gri CC=golang-dev https://golang.org/cl/5445044 --- src/pkg/strings/strings_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/strings/strings_test.go b/src/pkg/strings/strings_test.go index 5308e8b7e41..957af67b2ba 100644 --- a/src/pkg/strings/strings_test.go +++ b/src/pkg/strings/strings_test.go @@ -527,7 +527,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 := f(tc.in, tc.cutset) if actual != tc.out {