Jack Royal-Gordon
unread,Oct 10, 2020, 7:39:03 PM10/10/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rs...@googlegroups.com
I am comparing some complex array/hash structures for “eq”, and I would like to display the **entire** object if the comparison fails, without replacing the middle with ellipses to shorten the output. I know some work was done in this area in Issue #2535 in rspec-core, but looking at configuration the only setting I see that looks like it **might** have an effect is #max_displayed_failure_line_count, and setting that to 100 had no effect on the output.
If there is solution within the realm of custom matchers, I could do that since I am using a custom matcher I wrote in order to “customize" the rules of “eq” on these structures.
If the solution is something that must be applied to specific example groups, that would also be more than acceptable.