Commit 7bbe0163 authored by Ian Lance Taylor's avatar Ian Lance Taylor

net: fix typo in failure message in test

R=golang-dev, mikioh.mikioh
CC=golang-dev
https://golang.org/cl/14582043
parent 8ba6deb1
...@@ -172,7 +172,7 @@ func TestConnAndPacketConn(t *testing.T) { ...@@ -172,7 +172,7 @@ func TestConnAndPacketConn(t *testing.T) {
} }
rb1 := make([]byte, 128) rb1 := make([]byte, 128)
if _, _, err := c1.ReadFrom(rb1); err != nil { if _, _, err := c1.ReadFrom(rb1); err != nil {
t.Fatalf("PacetConn.ReadFrom failed: %v", err) t.Fatalf("PacketConn.ReadFrom failed: %v", err)
} }
var dst Addr var dst Addr
switch netstr[0] { switch netstr[0] {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment