aboutsummaryrefslogtreecommitdiff
path: root/hotline/news_test.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2024-06-16 16:03:54 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2024-06-16 16:05:25 -0700
commit0ed5132769e88cb385b5240986b706430f0ccd72 (patch)
treebd622161546d9db3293ba69afc9646bcdb24b2f4 /hotline/news_test.go
parentf6f1d88969e12eadb7013397cdad3c4c5625988c (diff)
Fix broken io.Reader implementations
Diffstat (limited to 'hotline/news_test.go')
-rw-r--r--hotline/news_test.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/hotline/news_test.go b/hotline/news_test.go
index 44776dd..a2102b2 100644
--- a/hotline/news_test.go
+++ b/hotline/news_test.go
@@ -12,9 +12,9 @@ func TestNewsCategoryListData15_MarshalBinary(t *testing.T) {
Articles map[uint32]*NewsArtData
SubCats map[string]NewsCategoryListData15
Count []byte
- AddSN []byte
- DeleteSN []byte
- GUID []byte
+ AddSN [4]byte
+ DeleteSN [4]byte
+ GUID [16]byte
}
tests := []struct {
name string
@@ -75,7 +75,6 @@ func TestNewsCategoryListData15_MarshalBinary(t *testing.T) {
Name: tt.fields.Name,
Articles: tt.fields.Articles,
SubCats: tt.fields.SubCats,
- Count: tt.fields.Count,
AddSN: tt.fields.AddSN,
DeleteSN: tt.fields.DeleteSN,
GUID: tt.fields.GUID,