Commit d441d545 authored by Russ Cox's avatar Russ Cox

two more regexp tweaks

TBR=r
http://go/go-review/1016037
parent af2bc8f9
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment