]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix incorrect internal IPv6 address representation in test
authorMikio Hara <mikioh.mikioh@gmail.com>
Mon, 13 Jan 2014 22:36:38 +0000 (07:36 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Mon, 13 Jan 2014 22:36:38 +0000 (07:36 +0900)
Also fixes a dialgoogle test glitch after issue 6628 fix.

R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/50660044

src/pkg/net/dialgoogle_test.go

index 79d150f8aad0a1281c10c206eb83539d8b697379..df5895afa74f35cc20d6e4e85c25b73a18587a58 100644 (file)
@@ -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) {