mirror of
https://github.com/golang/go.git
synced 2025-05-19 06:14:40 +00: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:
parent
506ce11f03
commit
af2bc8f986
@ -31,7 +31,7 @@ var dialErrorTests = []DialErrorTest {
|
|||||||
},
|
},
|
||||||
DialErrorTest{
|
DialErrorTest{
|
||||||
"tcp", "", "no-such-name.no-such-top-level-domain.:80",
|
"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{
|
DialErrorTest{
|
||||||
"tcp", "", "no-such-name:80",
|
"tcp", "", "no-such-name:80",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user