Commit 7600281b authored by Christopher Wedgwood's avatar Christopher Wedgwood Committed by Robert Griesemer

bytes: fix test output

R=rsc, gri
CC=golang-dev
https://golang.org/cl/5441048
parent 62203141
...@@ -702,7 +702,7 @@ func TestTrim(t *testing.T) { ...@@ -702,7 +702,7 @@ func TestTrim(t *testing.T) {
case "TrimRight": case "TrimRight":
f = TrimRight f = TrimRight
default: default:
t.Error("Undefined trim function %s", name) t.Errorf("Undefined trim function %s", name)
} }
actual := string(f([]byte(tc.in), tc.cutset)) actual := string(f([]byte(tc.in), tc.cutset))
if actual != tc.out { 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