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

two more regexp tweaks

TBR=r
http://go/go-review/1016037
This commit is contained in:
Russ Cox 2009-11-04 08:34:31 -08:00
parent af2bc8f986
commit d441d545a9

View File

@ -27,7 +27,7 @@ var dialErrorTests = []DialErrorTest {
},
DialErrorTest{
"tcp", "", "no-such-name.google.com.:80",
"dial tcp no-such-name.google.com.:80: lookup no-such-name.google.com.( on .*)?: no such host",
"dial tcp no-such-name.google.com.:80: lookup no-such-name.google.com.( on .*)?: no (.*)",
},
DialErrorTest{
"tcp", "", "no-such-name.no-such-top-level-domain.:80",
@ -35,7 +35,7 @@ var dialErrorTests = []DialErrorTest {
},
DialErrorTest{
"tcp", "", "no-such-name:80",
`dial tcp no-such-name:80: lookup no-such-name\..*\.( on .*)?: no such host`,
`dial tcp no-such-name:80: lookup no-such-name\..*\.( on .*)?: no (.*)`,
},
DialErrorTest{
"tcp", "", "mh/astro/r70:http",