(t *testing.T)
| 76 | } |
| 77 | |
| 78 | func TestEditCommentSerialize(t *testing.T) { |
| 79 | dag.SerializeRoundTripTest(t, operationUnmarshaler, func(author identity.Interface, unixTime int64) (*EditCommentOperation, entity.Resolvers) { |
| 80 | return NewEditCommentOp(author, unixTime, "target", "message", nil), nil |
| 81 | }) |
| 82 | dag.SerializeRoundTripTest(t, operationUnmarshaler, func(author identity.Interface, unixTime int64) (*EditCommentOperation, entity.Resolvers) { |
| 83 | return NewEditCommentOp(author, unixTime, "target", "message", []repository.Hash{"hash1", "hash2"}), nil |
| 84 | }) |
| 85 | } |
nothing calls this directly
no test coverage detected