From a55350daaf83498b7a237c027ad0dd2377f06fee Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Tue, 18 Jun 2024 15:34:50 -0700 Subject: Adopt more fixed size array types for struct fields --- hotline/server_blackbox_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hotline/server_blackbox_test.go') diff --git a/hotline/server_blackbox_test.go b/hotline/server_blackbox_test.go index 3e23d27..28aecf0 100644 --- a/hotline/server_blackbox_test.go +++ b/hotline/server_blackbox_test.go @@ -45,7 +45,7 @@ func tranAssertEqual(t *testing.T, tran1, tran2 []Transaction) bool { if field.ID == [2]byte{0x00, 0x72} { // FieldChatID continue } - fs = append(fs, field) + trans.Fields = append(trans.Fields, field) } trans.Fields = fs newT1 = append(newT1, trans) @@ -61,7 +61,7 @@ func tranAssertEqual(t *testing.T, tran1, tran2 []Transaction) bool { if field.ID == [2]byte{0x00, 0x72} { // FieldChatID continue } - fs = append(fs, field) + trans.Fields = append(trans.Fields, field) } trans.Fields = fs newT2 = append(newT2, trans) -- cgit