},
},
want: &User{
- ID: []byte{
+ ID: [2]byte{
0x00, 0x01,
},
Icon: []byte{
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
- if got := encodeString(tt.args.encodedString); !bytes.Equal(got, tt.want) {
+ if got := EncodeString(tt.args.encodedString); !bytes.Equal(got, tt.want) {
t.Errorf("NegatedUserString() = %x, want %x", got, tt.want)
}
})