rspec-expectations
rspec-expectations copied to clipboard
Array diffing behaviour questionable
Currently, if you have an example like expect(array1).to eq(array2) a diff of the arrays will only show if both arrays once flattened contain only strings, and at least one of those strings contains a newline.
The behaviour got this way through reasonable looking changes that did nice things, but this case doesn't make much sense any more.
I'm going to work on making this do something a little more expected (and figuring out how this got exactly the way it is) tonight. If anyone has any feedback on what exactly the desired behaviour is, or has any other info that would be helpful, please let me know.
:alien: The truth is out there. :rocket: