[
https://issues.apache.org/jira/browse/THRIFT-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600160#action_12600160
]
Kevin Clark commented on THRIFT-3:
----------------------------------
I think there's a proper === defined in test_helper right now. It could make
sense that it is the default === for thrift structs.
> Comparator is on object equivalence, not value equivalence
> ----------------------------------------------------------
>
> Key: THRIFT-3
> URL: https://issues.apache.org/jira/browse/THRIFT-3
> Project: Thrift
> Issue Type: Bug
> Components: Library (Ruby)
> Reporter: Bryan Duxbury
> Priority: Minor
>
> If you try to compare two generated Ruby objects of the same Thrift type, ==
> will not evaluate true, because the default == operator is on object id. This
> makes it hard to use Thrift objects in testing (and elsewhere, no doubt).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.