Skip to content

Commit 5490d3d

Browse files
author
Guy Baron
committed
fixed validation in proto serialization error tests
1 parent c1040a5 commit 5490d3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/protoSerialization_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ func TestProtoSerializationErrors(t *testing.T) {
8686
t.Errorf("decoding an unregistred schema is expected to return an error but did not")
8787
}
8888

89+
serializer.Register(cmd)
8990
//decoding junk fails and returns an error
9091
junk := make([]byte, 16)
9192
rand.Read(junk)

0 commit comments

Comments
 (0)