client_test.go | 4 ++-- diff --git a/client_test.go b/client_test.go index c59eeef639be588f31f4665926ece2491ba030e8..dcad14844b6e2f578a3e0b150710b5458ee71cd1 100644 --- a/client_test.go +++ b/client_test.go @@ -148,7 +148,7 @@ } } func TestUTPRawConn(t *testing.T) { - l, err := utp.NewSocket("") + l, err := utp.NewSocket("udp", "") if err != nil { t.Fatal(err) } @@ -162,7 +162,7 @@ } } }() // Connect a UTP peer to see if the RawConn will still work. - s, _ := utp.NewSocket("") + s, _ := utp.NewSocket("udp", "") defer s.Close() utpPeer, err := s.Dial(fmt.Sprintf("localhost:%d", missinggo.AddrPort(l.Addr()))) if err != nil {