Commit 356b8ee2 authored by Christopher Wedgwood's avatar Christopher Wedgwood Committed by Robert Griesemer

strings: fix test output

R=rsc, gri
CC=golang-dev
https://golang.org/cl/5445044
parent 7600281b
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment