Commit 8e4e73d6 authored by Matt Joiner's avatar Matt Joiner

Add a test for #7

parent b3fd01f4
......@@ -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()
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment