()
| 20 | func (r *negativeReader) Read([]byte) (int, error) { return -1, nil } |
| 21 | |
| 22 | func init() { |
| 23 | testBytes = make([]byte, N) |
| 24 | for i := 0; i < N; i++ { |
| 25 | testBytes[i] = 'a' + byte(i%26) |
| 26 | } |
| 27 | testString = string(testBytes) |
| 28 | } |
| 29 | |
| 30 | // Verify that contents of buf match the string s. |
| 31 | func check(t *testing.T, testname string, buf *Buffer, s string) { |
nothing calls this directly
no outgoing calls
no test coverage detected