(length int)
| 144 | const letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" |
| 145 | |
| 146 | func randomStr(length int) string { |
| 147 | b := make([]byte, length) |
| 148 | for i := range b { |
| 149 | b[i] = letters[rand.Intn(len(letters))] |
| 150 | } |
| 151 | return string(b) |
| 152 | } |
| 153 | |
| 154 | func directDoErr(tb testing.TB, c *proto.Client, args ...string) error { |
| 155 | tb.Helper() |
nothing calls this directly
no outgoing calls
no test coverage detected