summaryrefslogtreecommitdiff
path: root/src/pkg/net/net_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/net/net_test.go')
-rw-r--r--src/pkg/net/net_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/net/net_test.go b/src/pkg/net/net_test.go
index 4efb8bf8e..d4ca287ce 100644
--- a/src/pkg/net/net_test.go
+++ b/src/pkg/net/net_test.go
@@ -27,15 +27,15 @@ 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.: no such host",
+ "dial tcp no-such-name.google.com.:80: lookup no-such-name.google.com.( on .*)?: no such host",
},
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.: 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 such host",
},
DialErrorTest{
"tcp", "", "no-such-name:80",
- `dial tcp no-such-name:80: lookup no-such-name\..*\.: no such host`,
+ `dial tcp no-such-name:80: lookup no-such-name\..*\.( on .*)?: no such host`,
},
DialErrorTest{
"tcp", "", "mh/astro/r70:http",