@@ -55,26 +55,26 @@ func TestIngestPortHandlingFunctionality(t *testing.T) {
5555 require .Nil (t , err )
5656
5757 goodCases := []struct {
58- v uint
58+ v uint
5959 t pb.TransportType
6060 p * pb.GenericTransportParams
6161 expected uint16
6262 }{
6363 // registrations that provide no transport parameters should be allowed so we are backward
6464 // compatible with clients from before the addition of the transport parameters field.
65- {v :randomizeDstPortMinVersion , t : transportType , p : nil , expected : 443 },
65+ {v : randomizeDstPortMinVersion , t : transportType , p : nil , expected : 443 },
6666
6767 // Allow transports that support fixed destination port to disable randomization
68- {v :randomizeDstPortMinVersion , t : transportType , p : & pb.GenericTransportParams {RandomizeDstPort : & fl }, expected : 443 },
68+ {v : randomizeDstPortMinVersion , t : transportType , p : & pb.GenericTransportParams {RandomizeDstPort : & fl }, expected : 443 },
6969
7070 // Allow transports that support randomized destination port to enable randomization through
7171 // transport parameter in the registration.
72- {v :randomizeDstPortMinVersion , t : transportType , p : & pb.GenericTransportParams {RandomizeDstPort : & tr }, expected : 444 },
72+ {v : randomizeDstPortMinVersion , t : transportType , p : & pb.GenericTransportParams {RandomizeDstPort : & tr }, expected : 444 },
7373
7474 // If a client with a low library version requests randomization it will be ignored as their
7575 // client should not support randomization. This is handled by the transport so this is
7676 // just an example.
77- {v :0 , t : transportType , p : & pb.GenericTransportParams {RandomizeDstPort : & tr }, expected : 443 },
77+ {v : 0 , t : transportType , p : & pb.GenericTransportParams {RandomizeDstPort : & tr }, expected : 443 },
7878 }
7979 seed , _ := hex .DecodeString ("0000000000000000000000000000000000000000000000000000000000000000" )
8080
0 commit comments