rm comments
Juan Batiz-Benet committed
Oct 30, 2014 at 05:07 UTC
f62cedf4d79b9b2b0676103ed7ac825b768d01a3
1 file changed
-3
util/util_test.go
-3
@@ -41,7 +41,6 @@ func TestByteChanReader(t *testing.T) {
41
chunk := make([]byte, rand.Intn(100000)+10)
42
randr.Read(chunk)
43
data.Write(chunk)
44
- // fmt.Printf("chunk: %6.d %v\n", len(chunk), chunk[:10])
44
dch <- chunk
45
}
46
}()
@@ -53,13 +52,11 @@ func TestByteChanReader(t *testing.T) {
52
buf := make([]byte, rand.Intn(10)*10)
53
n, err := read.Read(buf)
54
data2.Write(buf[:n])
56
- // fmt.Printf("read: %6.d\n", n)
55
if err != nil {
56
break
57
}
58
}
59
62
- // fmt.Printf("lens: %d == %d\n", len(out), len(data.Bytes()))
60
if !bytes.Equal(data2.Bytes(), data.Bytes()) {
61
t.Fatal("Reader failed to stream correct bytes")
62
}