Run gofmt.

This commit is contained in:
Juliusz Chroboczek
2025-03-21 15:15:41 +01:00
parent 400d821d1b
commit e09b135cd2
10 changed files with 38 additions and 38 deletions
+2 -2
View File
@@ -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 != "" {
+2 -2
View File
@@ -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},