zerocomm: 'Fix' the test
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package nullreader
|
||||
|
||||
type Reader struct{}
|
||||
|
||||
func (Reader) Read(out []byte) (int, error) {
|
||||
for i := range out {
|
||||
out[i] = 0
|
||||
}
|
||||
return len(out), nil
|
||||
}
|
||||
Reference in New Issue
Block a user