Skip to content

Conversation

@idoru
Copy link
Contributor

@idoru idoru commented Apr 29, 2016

If two objects fail to match Equal but have identical -description,
Cedar will use the -(NSString *)cdr_explicitDescription instead, if
they respond to that selector.

Initial support is provided on NSArray,NSDictionary,NSSet,NSOrderedSet
and these implementations will annotate the collection members with
their class names.

@briancroom
Copy link
Contributor

Just had a quick look at this. Seems very nice! I'm also happy to see there's no templating involved. 😀

One potential issue I see is that the new implementation files are presumably being built with MRC, so I think there are some leaks in there?

@idoru
Copy link
Contributor Author

idoru commented Apr 29, 2016

Good catch @briancroom; I'l fix that shortly.

If two objects fail to match Equal but have identical -description,
Cedar will use the -(NSString *)cdr_explicitDescription instead, if
they respond to that selector.

Initial support is provided on NSArray,NSDictionary,NSSet,NSOrderedSet
and these implementations will annotate the collection members with
their class names.
@idoru idoru force-pushed the disambiguate-equal-matcher-collection-failures branch from b80bcee to c2321e9 Compare April 29, 2016 23:29
@idoru
Copy link
Contributor Author

idoru commented Apr 29, 2016

I believe c2321e9 has now eliminated those leaks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants