X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/22c599abc18895f73e96095f35b71cf3357d41b4..8fc43f8e53a60144f49b92a0c28b0c939a69d1c9:/hotline/tracker_test.go diff --git a/hotline/tracker_test.go b/hotline/tracker_test.go index b904462..72d84ba 100644 --- a/hotline/tracker_test.go +++ b/hotline/tracker_test.go @@ -7,7 +7,7 @@ import ( func TestTrackerRegistration_Payload(t *testing.T) { type fields struct { - Port []byte + Port [2]byte UserCount int PassID []byte Name string @@ -21,7 +21,7 @@ func TestTrackerRegistration_Payload(t *testing.T) { { name: "returns expected payload bytes", fields: fields{ - Port: []byte{0x00, 0x10}, + Port: [2]byte{0x00, 0x10}, UserCount: 2, PassID: []byte{0x00, 0x00, 0x00, 0x01}, Name: "Test Serv",