()
| 41 | func (r *countingReader) Close() error { return nil } |
| 42 | |
| 43 | func (r *countingReader) BytesRead() int64 { |
| 44 | return r.n.Load() |
| 45 | } |
| 46 | |
| 47 | // erraticReader is a test reader that simulates a slow read and can fail after reading a certain number of bytes |
| 48 | type erraticReader struct { |
no test coverage detected