From: Mikio Hara Date: Mon, 13 Jan 2014 22:36:38 +0000 (+0900) Subject: net: fix incorrect internal IPv6 address representation in test X-Git-Tag: go1.3beta1~990 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=47dc18313684383ea2432b57f34e353db0593a4d;p=gostls13.git net: fix incorrect internal IPv6 address representation in test Also fixes a dialgoogle test glitch after issue 6628 fix. R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/50660044 --- diff --git a/src/pkg/net/dialgoogle_test.go b/src/pkg/net/dialgoogle_test.go index 79d150f8aa..df5895afa7 100644 --- a/src/pkg/net/dialgoogle_test.go +++ b/src/pkg/net/dialgoogle_test.go @@ -104,7 +104,7 @@ var googleaddrsipv4 = []string{ "[::ffff:%02x%02x:%02x%02x]:80", "[0:0:0:0:0000:ffff:%d.%d.%d.%d]:80", "[0:0:0:0:000000:ffff:%d.%d.%d.%d]:80", - "[0:0:0:0:0:ffff::%d.%d.%d.%d]:80", + "[0:0:0:0::ffff:%d.%d.%d.%d]:80", } func TestDialGoogleIPv4(t *testing.T) {