diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-18 15:34:50 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-18 15:34:50 -0700 |
| commit | a55350daaf83498b7a237c027ad0dd2377f06fee (patch) | |
| tree | b9f8c43a7b0778a8c2be01e72ecba24484f97a46 /hotline/server_blackbox_test.go | |
| parent | 153e2eac3b51a6a426556752fa2c532cfe53f026 (diff) | |
Adopt more fixed size array types for struct fields
Diffstat (limited to 'hotline/server_blackbox_test.go')
| -rw-r--r-- | hotline/server_blackbox_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) |