(t *testing.T)
| 10 | ) |
| 11 | |
| 12 | func TestAddCommentSerialize(t *testing.T) { |
| 13 | dag.SerializeRoundTripTest(t, operationUnmarshaler, func(author identity.Interface, unixTime int64) (*AddCommentOperation, entity.Resolvers) { |
| 14 | return NewAddCommentOp(author, unixTime, "message", nil), nil |
| 15 | }) |
| 16 | dag.SerializeRoundTripTest(t, operationUnmarshaler, func(author identity.Interface, unixTime int64) (*AddCommentOperation, entity.Resolvers) { |
| 17 | return NewAddCommentOp(author, unixTime, "message", []repository.Hash{"hash1", "hash2"}), nil |
| 18 | }) |
| 19 | } |
nothing calls this directly
no test coverage detected