(t *testing.T)
| 31 | } |
| 32 | |
| 33 | func TestJoin(t *testing.T) { |
| 34 | v := []RedactableString{"c", "a", "b"} |
| 35 | exp := RedactableString("c, a, b") |
| 36 | act := Join(", ", v) |
| 37 | if exp != act { |
| 38 | t.Errorf("expected %q, got %q", exp, act) |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | func TestJoinTo(t *testing.T) { |
| 43 | testCases := []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…