mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue