From af2bc8f98609f810853daedb560e2e75c23bfbe2 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 4 Nov 2009 08:30:53 -0800 Subject: [PATCH] allow "no such host" and also "no answer from server"; seems to help on snow leopard. TBR=r http://go/go-review/1018035 --- src/pkg/net/net_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",