mirror of
https://github.com/golang/go
synced 2024-11-22 06:34:40 -07:00
strings: fix test output
R=rsc, gri CC=golang-dev https://golang.org/cl/5445044
This commit is contained in:
parent
7600281bda
commit
356b8ee26f
@ -527,7 +527,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 := f(tc.in, tc.cutset)
|
actual := f(tc.in, tc.cutset)
|
||||||
if actual != tc.out {
|
if actual != tc.out {
|
||||||
|
Loading…
Reference in New Issue
Block a user