Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-reuseport
Commits
8e4e73d6
Commit
8e4e73d6
authored
Jan 03, 2019
by
Matt Joiner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test for #7
parent
b3fd01f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
reuse_test.go
reuse_test.go
+6
-0
No files found.
reuse_test.go
View file @
8e4e73d6
...
...
@@ -37,3 +37,9 @@ func TestDialFromListeningPort(t *testing.T) {
func
TestDialFromListeningPortTcp6
(
t
*
testing
.
T
)
{
testDialFromListeningPort
(
t
,
"tcp6"
,
"[::1]"
)
}
func
TestListenPacketWildcardAddress
(
t
*
testing
.
T
)
{
pc
,
err
:=
ListenPacket
(
"udp"
,
":0"
)
require
.
NoError
(
t
,
err
)
pc
.
Close
()
}
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