1
0
mirror of https://github.com/golang/go synced 2024-11-17 21:54:49 -07:00

net: fix nit

Change-Id: Iec469846dc8b5a747ad81690000f1f6f53721ea1
Reviewed-on: https://go-review.googlesource.com/32372
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Mikio Hara 2016-10-30 09:46:36 +09:00
parent b4e714e59e
commit f030eb634f

View File

@ -207,6 +207,6 @@ func TestWritevError(t *testing.T) {
buffers[i] = buf
}
if _, err := buffers.WriteTo(c1); err == nil {
t.Fatalf("Buffers.WriteTo(closed conn) succeeded, want error", err)
t.Fatal("Buffers.WriteTo(closed conn) succeeded, want error")
}
}