mirror of
https://github.com/jwetzell/artnet-go.git
synced 2026-09-11 08:19:28 +00:00
just use marshal methods directly
This commit is contained in:
+3
-1
@@ -30,7 +30,9 @@ func TestGoodArtDmx(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
got, err := artnet.NewArtDmx(test.Data)
|
||||
got := artnet.ArtDmx{}
|
||||
|
||||
err := got.UnmarshalBinary(test.Data)
|
||||
|
||||
if err != nil {
|
||||
t.Fatalf("failed to decode ArtDmx: %s", err)
|
||||
|
||||
Reference in New Issue
Block a user