"testing"
"github.com/anacrolix/log"
-
"github.com/anacrolix/missinggo/v2"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
testListenerNetwork(t, listenUtpListener, "udp", "udp6", "[::]:0", false)
testListenerNetwork(t, listenUtpListener, "udp", "udp4", "localhost:0", true)
- testAcceptedConnAddr(t, "tcp", false, dialClosure(net.Dial, "tcp"), listenClosure(net.Listen, "tcp6", ":0"))
+ testAcceptedConnAddr(
+ t,
+ "tcp",
+ false,
+ dialClosure(net.Dial, "tcp"),
+ listenClosure(net.Listen, "tcp6", "localhost:0"),
+ )
}