|
@@ -387,7 +387,7 @@ func TestTransportBody(t *testing.T) {
|
|
|
defer res.Body.Close()
|
|
defer res.Body.Close()
|
|
|
ri := <-gotc
|
|
ri := <-gotc
|
|
|
if ri.err != nil {
|
|
if ri.err != nil {
|
|
|
- t.Errorf("%#d: read error: %v", i, ri.err)
|
|
|
|
|
|
|
+ t.Errorf("#%d: read error: %v", i, ri.err)
|
|
|
continue
|
|
continue
|
|
|
}
|
|
}
|
|
|
if got := string(ri.slurp); got != tt.body {
|
|
if got := string(ri.slurp); got != tt.body {
|