]> Cypherpunks repositories - gostls13.git/commitdiff
expand error regexp in dns test
authorRuss Cox <rsc@golang.org>
Sat, 3 Oct 2009 17:35:49 +0000 (10:35 -0700)
committerRuss Cox <rsc@golang.org>
Sat, 3 Oct 2009 17:35:49 +0000 (10:35 -0700)
R=r
DELTA=3  (0 added, 0 deleted, 3 changed)
OCL=35292
CL=35303

src/pkg/net/net_test.go

index 4efb8bf8e0eacc7b41eb80846b9b835219d843fa..d4ca287cecee260310203cb9b8bda929a23fa289 100644 (file)
@@ -27,15 +27,15 @@ var dialErrorTests = []DialErrorTest {
        },
        DialErrorTest{
                "tcp", "", "no-such-name.google.com.:80",
-               "dial tcp no-such-name.google.com.:80: lookup no-such-name.google.com.: no such host",
+               "dial tcp no-such-name.google.com.:80: lookup no-such-name.google.com.( on .*)?: no such host",
        },
        DialErrorTest{
                "tcp", "", "no-such-name.no-such-top-level-domain.:80",
-               "dial tcp no-such-name.no-such-top-level-domain.:80: lookup no-such-name.no-such-top-level-domain.: no such host",
+               "dial tcp no-such-name.no-such-top-level-domain.:80: lookup no-such-name.no-such-top-level-domain.( on .*)?: no such host",
        },
        DialErrorTest{
                "tcp", "", "no-such-name:80",
-               `dial tcp no-such-name:80: lookup no-such-name\..*\.: no such host`,
+               `dial tcp no-such-name:80: lookup no-such-name\..*\.( on .*)?: no such host`,
        },
        DialErrorTest{
                "tcp", "", "mh/astro/r70:http",