From 6b7539d607f26a1b1cd3eda71fc123ad4d52a133 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 3 Oct 2009 10:35:49 -0700 Subject: expand error regexp in dns test R=r DELTA=3 (0 added, 0 deleted, 3 changed) OCL=35292 CL=35303 --- src/pkg/net/net_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pkg/net/net_test.go') 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", -- cgit v1.2.3