]> Cypherpunks repositories - gostls13.git/commitdiff
Remove assumption about google.com being the default search domain.
authorDavid Symonds <dsymonds@golang.org>
Sun, 5 Jul 2009 22:00:11 +0000 (15:00 -0700)
committerDavid Symonds <dsymonds@golang.org>
Sun, 5 Jul 2009 22:00:11 +0000 (15:00 -0700)
R=rsc
APPROVED=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=31151
CL=31168

src/pkg/net/net_test.go

index cafca3c98d8bf3cc66688c8cec365725e26cbe0e..6756ee86f0b4737a02917ee9d39ef1b9195ed093 100644 (file)
@@ -37,7 +37,7 @@ var dialErrorTests = []DialErrorTest {
        },
        DialErrorTest{
                "tcp", "", "no-such-name:80",
-               "dial tcp no-such-name:80: lookup no-such-name.google.com.: no such host",
+               `dial tcp no-such-name:80: lookup no-such-name\..*\.: no such host`,
        },
        DialErrorTest{
                "tcp", "", "mh/astro/r70:http",