]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix typo in failure message in test
authorIan Lance Taylor <iant@golang.org>
Wed, 9 Oct 2013 13:44:11 +0000 (06:44 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 9 Oct 2013 13:44:11 +0000 (06:44 -0700)
R=golang-dev, mikioh.mikioh
CC=golang-dev
https://golang.org/cl/14582043

src/pkg/net/packetconn_test.go

index 53e8be9c89214fea63f7bd8eea89260eeec5fe72..945003f67ad93dd745bb15276a461734f8d3ae7e 100644 (file)
@@ -172,7 +172,7 @@ func TestConnAndPacketConn(t *testing.T) {
                }
                rb1 := make([]byte, 128)
                if _, _, err := c1.ReadFrom(rb1); err != nil {
-                       t.Fatalf("PacetConn.ReadFrom failed: %v", err)
+                       t.Fatalf("PacketConn.ReadFrom failed: %v", err)
                }
                var dst Addr
                switch netstr[0] {