]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/transaction_handlers_test.go
Convert more bespoke methods to io.Reader/io.Writer interfaces
[rbdr/mobius] / hotline / transaction_handlers_test.go
index 94854f2f68d89ca825d23c8eb17ad07ed2f920c5..ca1722faa10342ed976806687261b476d9d1667a 100644 (file)
@@ -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",