(t *testing.T)
| 491 | } |
| 492 | |
| 493 | func TestTrimStrings(t *testing.T) { |
| 494 | out := trimStrings([]string{" a ", "b", " c"}) |
| 495 | if len(out) != 3 || out[0] != "a" || out[1] != "b" || out[2] != "c" { |
| 496 | t.Fatalf("unexpected trimmed strings: %v", out) |
| 497 | } |
| 498 | } |
nothing calls this directly
no test coverage detected