Run gofmt.
This commit is contained in:
+2
-2
@@ -234,8 +234,8 @@ func getCandidates(as []sdp.Attribute, mid *string, index *uint16, ufrag string)
|
||||
continue
|
||||
}
|
||||
c := webrtc.ICECandidateInit{
|
||||
Candidate: a.Value,
|
||||
SDPMid: mid,
|
||||
Candidate: a.Value,
|
||||
SDPMid: mid,
|
||||
SDPMLineIndex: index,
|
||||
}
|
||||
if ufrag != "" {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package sdpfrag
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/pion/sdp/v3"
|
||||
)
|
||||
@@ -238,7 +238,7 @@ func testRoundtrip(t *testing.T, sdpfrag string) {
|
||||
}
|
||||
|
||||
func TestRoundtrip(t *testing.T) {
|
||||
type test struct { name, frag string }
|
||||
type test struct{ name, frag string }
|
||||
for _, tt := range []test{
|
||||
{"sdpfragTrickle", sdpfragTrickle},
|
||||
{"sdpfragEndOfCandidates", sdpfragEndOfCandidates},
|
||||
|
||||
Reference in New Issue
Block a user