Closed molon closed 1 year ago
protocmp.Transform
simply transforms a proto.Message
into a form that cmp
understands. Afterwards, you can compose other options with the result to achieve the desired outcome. In this case, you could compose protocmp.Transform
with cmpopts.EquateNaNs
.
What version of protobuf and what language are you using? Version: v1.28.1
What did you do?
What did you expect to see? PASS
What did you see instead?
Anything else we should know about your project / environment? No