summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",