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:
parent
506ce11f03
commit
af2bc8f986
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user