Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
f15300be
Commit
f15300be
authored
Oct 03, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
expand error regexp in dns test
R=r DELTA=3 (0 added, 0 deleted, 3 changed) OCL=35292 CL=35303
parent
d4a44682
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
net_test.go
src/pkg/net/net_test.go
+3
-3
No files found.
src/pkg/net/net_test.go
View file @
f15300be
...
@@ -27,15 +27,15 @@ var dialErrorTests = []DialErrorTest {
...
@@ -27,15 +27,15 @@ var dialErrorTests = []DialErrorTest {
},
},
DialErrorTest
{
DialErrorTest
{
"tcp"
,
""
,
"no-such-name.google.com.:80"
,
"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
{
DialErrorTest
{
"tcp"
,
""
,
"no-such-name.no-such-top-level-domain.:80"
,
"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
{
DialErrorTest
{
"tcp"
,
""
,
"no-such-name:80"
,
"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
{
DialErrorTest
{
"tcp"
,
""
,
"mh/astro/r70:http"
,
"tcp"
,
""
,
"mh/astro/r70:http"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment