internal/stream: remove unused variable from testRoundTrip (#396)

This commit is contained in:
Richard Ulmer
2022-04-27 13:31:48 +02:00
committed by GitHub
parent 299ec50c32
commit f7fcbef542

View File

@@ -79,10 +79,6 @@ func testRoundTrip(t *testing.T, stepSize, length int) {
n = 0
readBuf := make([]byte, stepSize)
for n < length {
b := length - n
if b > stepSize {
b = stepSize
}
nn, err := r.Read(readBuf)
if err != nil {
t.Fatalf("Read error at index %d: %v", n, err)