aboutsummaryrefslogtreecommitdiff
path: root/hotline/tracker_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hotline/tracker_test.go')
-rw-r--r--hotline/tracker_test.go4
1 files changed, 2 insertions, 2 deletions
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",