Skip to content

Commit

Permalink
Correct TestNewIdentifiedICECandidatesFromICE
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeTurki committed Jan 4, 2025
1 parent 2fe591f commit 8cc5b93
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions icecandidate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,19 +187,13 @@ func TestNewIdentifiedICECandidateFromICE(t *testing.T) {
}

func TestNewIdentifiedICECandidatesFromICE(t *testing.T) {
testCases := []struct {
iceCandidateConfig ice.CandidateHostConfig
sdpMid string
sdpMLineIndex uint16
}{
{
iceCandidateConfig: ice.CandidateHostConfig{
Network: "udp",
Address: "::1",
Port: 1234,
Component: 1,
Foundation: "foundation",
Priority: 128,
ic, err := ice.NewCandidateHost(&ice.CandidateHostConfig{
Network: "udp",
Address: "::1",
Port: 1234,
Component: 1,
Foundation: "foundation",
Priority: 128,
})

assert.NoError(t, err)
Expand Down

0 comments on commit 8cc5b93

Please sign in to comment.