diff options
author | Christopher Wedgwood <cw@f00f.org> | 2011-11-28 09:51:03 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2011-11-28 09:51:03 -0800 |
commit | 356b8ee26fa02643b166ae77870e24293260ba90 (patch) | |
tree | 6b3ba77aa06f497096047895d94aa3d9e5196506 | |
parent | 7600281bda2611d4a832a0b0bff6ef2e5dfb0abd (diff) | |
download | go-356b8ee26fa02643b166ae77870e24293260ba90.tar.gz go-356b8ee26fa02643b166ae77870e24293260ba90.zip |
strings: fix test output
R=rsc, gri
CC=golang-dev
https://golang.org/cl/5445044
-rw-r--r-- | src/pkg/strings/strings_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/strings/strings_test.go b/src/pkg/strings/strings_test.go index 5308e8b7e4..957af67b2b 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 { |