organizing the benchmarks in the right test files (#2154)

This commit is contained in:
karthic rao
2016-07-09 13:15:49 +05:30
committed by Harshavardhana
parent c0c8a8430e
commit 3341fe9b28
5 changed files with 306 additions and 306 deletions
+1 -1
View File
@@ -364,7 +364,7 @@ type EOFWriter struct {
n int64
}
// io.Writer implementation desgined to error out with io.EOF after reading
// io.Writer implementation desgined to error out with io.EOF after reading `n` bytes.
func (t *EOFWriter) Write(p []byte) (n int, err error) {
if t.n <= 0 {
return -1, io.EOF