From: Russ Cox Date: Wed, 4 Nov 2009 16:30:53 +0000 (-0800) Subject: allow "no such host" and also "no answer from server"; X-Git-Tag: weekly.2009-11-06~95 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=af2bc8f98609f810853daedb560e2e75c23bfbe2;p=gostls13.git allow "no such host" and also "no answer from server"; seems to help on snow leopard. TBR=r http://go/go-review/1018035 --- diff --git a/src/pkg/net/net_test.go b/src/pkg/net/net_test.go index d4ca287cec..8377201e5f 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",