summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-11-04 08:34:31 -0800
committerRuss Cox <rsc@golang.org>2009-11-04 08:34:31 -0800
commit7de172addd2bbc7ddcd0acb066a130e90c34139b (patch)
tree7d0db491817ceb5278b347d3726b98bcae6555d3
parenta0cdda0a522f65c64e972d76aff64817f12afe78 (diff)
downloadgolang-7de172addd2bbc7ddcd0acb066a130e90c34139b.tar.gz
two more regexp tweaks
TBR=r http://go/go-review/1016037
-rw-r--r--src/pkg/net/net_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/net/net_test.go b/src/pkg/net/net_test.go
index 8377201e5..cd888679f 100644
--- a/src/pkg/net/net_test.go
+++ b/src/pkg/net/net_test.go
@@ -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",