Index: src/0dev.org/ioutil/ioutil_test.go ================================================================== --- src/0dev.org/ioutil/ioutil_test.go +++ src/0dev.org/ioutil/ioutil_test.go @@ -45,17 +45,17 @@ if len(delta.Added) > 0 || len(delta.Removed) > 0 { t.Error("Differences detected ", delta) } } -func TestMinReader(t *testing.T) { +func TestBlockReader(t *testing.T) { var ( input []byte = []byte{0, 1, 2, 3, 4, 5, 6, 7} output []byte = make([]byte, 16) reader *bytes.Reader = bytes.NewReader(input) - min io.Reader = MinReader(reader, 4) + min io.Reader = BlockReader(reader, 4) ) // Expecting a read count of 2 count, err := min.Read(output[:2]) if count != 2 {