diff options
author | Russ Cox <rsc@golang.org> | 2009-11-04 08:30:53 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-11-04 08:30:53 -0800 |
commit | a0cdda0a522f65c64e972d76aff64817f12afe78 (patch) | |
tree | 2bb7c573689f2cedfb57b528622286ade137e407 /src/pkg/net/net_test.go | |
parent | ff1912231206a6ca61888c934c17fc99f3d6625f (diff) | |
download | golang-a0cdda0a522f65c64e972d76aff64817f12afe78.tar.gz |
allow "no such host" and also "no answer from server";
seems to help on snow leopard.
TBR=r
http://go/go-review/1018035
Diffstat (limited to 'src/pkg/net/net_test.go')
-rw-r--r-- | src/pkg/net/net_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/net/net_test.go b/src/pkg/net/net_test.go index d4ca287ce..8377201e5 100644 --- a/src/pkg/net/net_test.go +++ b/src/pkg/net/net_test.go @@ -31,7 +31,7 @@ var dialErrorTests = []DialErrorTest { }, 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.( on .*)?: 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 (.*)", }, DialErrorTest{ "tcp", "", "no-such-name:80", |