diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-09 13:56:29 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-09 14:05:15 -0700 |
| commit | 9cf66aeafbcbb9237fedc2efc97cc2856eb60f7f (patch) | |
| tree | c3139d8af2bd6ae106a1f619cad7d64f2ddea6db /hotline/transaction_handlers_test.go | |
| parent | b129b7cbc9fd9a9c11a77e5922861ef08893efa1 (diff) | |
Convert more bespoke methods to io.Reader/io.Writer interfaces
Diffstat (limited to 'hotline/transaction_handlers_test.go')
| -rw-r--r-- | hotline/transaction_handlers_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hotline/transaction_handlers_test.go b/hotline/transaction_handlers_test.go index 94854f2..ca1722f 100644 --- a/hotline/transaction_handlers_test.go +++ b/hotline/transaction_handlers_test.go @@ -3191,7 +3191,7 @@ func TestHandleDelNewsItem(t *testing.T) { Server: &Server{ ThreadedNews: &ThreadedNews{Categories: map[string]NewsCategoryListData15{ "test": { - Type: []byte{0, 3}, + Type: [2]byte{0, 3}, Count: nil, NameSize: 0, Name: "zz", @@ -3237,7 +3237,7 @@ func TestHandleDelNewsItem(t *testing.T) { Server: &Server{ ThreadedNews: &ThreadedNews{Categories: map[string]NewsCategoryListData15{ "testcat": { - Type: []byte{0, 2}, + Type: [2]byte{0, 2}, Count: nil, NameSize: 0, Name: "test", @@ -3293,7 +3293,7 @@ func TestHandleDelNewsItem(t *testing.T) { }(), ThreadedNews: &ThreadedNews{Categories: map[string]NewsCategoryListData15{ "testcat": { - Type: []byte{0, 2}, + Type: [2]byte{0, 2}, Count: nil, NameSize: 0, Name: "test", @@ -3847,7 +3847,7 @@ func TestHandleNewNewsFldr(t *testing.T) { }(), ThreadedNews: &ThreadedNews{Categories: map[string]NewsCategoryListData15{ "test": { - Type: []byte{0, 2}, + Type: [2]byte{0, 2}, Count: nil, NameSize: 0, Name: "test", |