1
0
mirror of https://github.com/golang/go synced 2024-11-19 14:44:40 -07:00

allow "no such host" and also "no answer from server";

seems to help on snow leopard.

TBR=r
http://go/go-review/1018035
This commit is contained in:
Russ Cox 2009-11-04 08:30:53 -08:00
parent 506ce11f03
commit af2bc8f986

View File

@ -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",