mirror of
https://github.com/pion/ice.git
synced 2025-10-22 06:59:32 +08:00
Update CI configs to v0.7.2
Update lint scripts and CI configs.
This commit is contained in:
@@ -234,7 +234,7 @@ func TestVNetGatherWithNAT1To1(t *testing.T) {
|
||||
|
||||
laddr := [2]*net.UDPAddr{nil, nil}
|
||||
for i, candi := range candidates {
|
||||
laddr[i] = candi.(*CandidateHost).conn.LocalAddr().(*net.UDPAddr)
|
||||
laddr[i] = candi.(*CandidateHost).conn.LocalAddr().(*net.UDPAddr) //nolint:forcetypeassert
|
||||
if candi.Port() != laddr[i].Port {
|
||||
t.Fatalf("Unexpected candidate port: %d", candi.Port())
|
||||
}
|
||||
|
Reference in New Issue
Block a user