diff options
author | Russ Cox <rsc@golang.org> | 2009-10-03 10:35:49 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-10-03 10:35:49 -0700 |
commit | 6b7539d607f26a1b1cd3eda71fc123ad4d52a133 (patch) | |
tree | 9bc1b4cd7b5c41ca9f5271f950cc91b5c6378175 /src/pkg/net/net_test.go | |
parent | 113b042b717f2d9ba90024b45b429490e3a7ddda (diff) | |
download | golang-6b7539d607f26a1b1cd3eda71fc123ad4d52a133.tar.gz |
expand error regexp in dns test
R=r
DELTA=3 (0 added, 0 deleted, 3 changed)
OCL=35292
CL=35303
Diffstat (limited to 'src/pkg/net/net_test.go')
-rw-r--r-- | src/pkg/net/net_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/net/net_test.go b/src/pkg/net/net_test.go index 4efb8bf8e..d4ca287ce 100644 --- a/src/pkg/net/net_test.go +++ b/src/pkg/net/net_test.go @@ -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", |