fix extra Logf arguments
This commit is contained in:
@@ -226,11 +226,11 @@ func TestReadStream(t *testing.T) {
|
|||||||
got := make([]readRes, len(tc.want))
|
got := make([]readRes, len(tc.want))
|
||||||
for i := range tc.want {
|
for i := range tc.want {
|
||||||
if i == tc.closeBefore-1 {
|
if i == tc.closeBefore-1 {
|
||||||
t.Logf("Close()", tcNum)
|
t.Log("Close()")
|
||||||
s.Close()
|
s.Close()
|
||||||
}
|
}
|
||||||
n, err := s.Read(buf)
|
n, err := s.Read(buf)
|
||||||
t.Logf("Read(): got %d, %v", tcNum, n, err)
|
t.Logf("Read(): got %d, %v", n, err)
|
||||||
got[i] = readRes{
|
got[i] = readRes{
|
||||||
n: n,
|
n: n,
|
||||||
err: err,
|
err: err,
|
||||||
|
Reference in New Issue
Block a user