mirror of
https://github.com/pion/ice.git
synced 2025-09-27 03:45:54 +08:00
Move URL type to pion/stun.URI
This commit is contained in:
@@ -14,7 +14,7 @@ func TestConnectedState_String(t *testing.T) {
|
||||
connectionState ConnectionState
|
||||
expectedString string
|
||||
}{
|
||||
{ConnectionState(Unknown), "Invalid"},
|
||||
{ConnectionStateUnknown, "Invalid"},
|
||||
{ConnectionStateNew, "New"},
|
||||
{ConnectionStateChecking, "Checking"},
|
||||
{ConnectionStateConnected, "Connected"},
|
||||
@@ -38,7 +38,7 @@ func TestGatheringState_String(t *testing.T) {
|
||||
gatheringState GatheringState
|
||||
expectedString string
|
||||
}{
|
||||
{GatheringState(Unknown), ErrUnknownType.Error()},
|
||||
{GatheringStateUnknown, ErrUnknownType.Error()},
|
||||
{GatheringStateNew, "new"},
|
||||
{GatheringStateGathering, "gathering"},
|
||||
{GatheringStateComplete, "complete"},
|
||||
|
Reference in New Issue
Block a user