mirror of
https://github.com/pion/webrtc.git
synced 2025-12-24 11:51:03 +08:00
Add IPv6 addresses to some tests
This only checks they are being parsed with no error, it doesn't actually do anything useful with them.
This commit is contained in:
committed by
Sean DuBois
parent
bafb7f5524
commit
f4b3d98c1f
@@ -22,6 +22,12 @@ func TestICEServer_validate(t *testing.T) {
|
||||
Credential: "placeholder",
|
||||
CredentialType: ICECredentialTypePassword,
|
||||
}, true},
|
||||
{ICEServer{
|
||||
URLs: []string{"turn:[2001:db8:1234:5678::1]?transport=udp"},
|
||||
Username: "unittest",
|
||||
Credential: "placeholder",
|
||||
CredentialType: ICECredentialTypePassword,
|
||||
}, true},
|
||||
{ICEServer{
|
||||
URLs: []string{"turn:192.158.29.39?transport=udp"},
|
||||
Username: "unittest",
|
||||
|
||||
Reference in New Issue
Block a user