strings: fix test output

R=rsc, gri
CC=golang-dev
https://golang.org/cl/5445044
This commit is contained in:
Christopher Wedgwood 2011-11-28 09:51:03 -08:00 committed by Robert Griesemer
parent 7600281bda
commit 356b8ee26f

View File

@ -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 {