summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-11-04 08:30:53 -0800
committerRuss Cox <rsc@golang.org>2009-11-04 08:30:53 -0800
commita0cdda0a522f65c64e972d76aff64817f12afe78 (patch)
tree2bb7c573689f2cedfb57b528622286ade137e407
parentff1912231206a6ca61888c934c17fc99f3d6625f (diff)
downloadgolang-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
-rw-r--r--src/pkg/net/net_test.go2
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",