[rspec-users] Nicer failure message formatting

Tom Locke tom at hobocentral.net
Fri Jun 22 10:08:10 EDT 2007

> For me even easier to read would be:
> expected: "this is a very long string blah blah"
> got     : "this is a very very long string blah blah"
> (using ==)

What about values with a very long inspect? It would be nice to  
include PP formatting, in which case you would want to either start  
on a new line, or I guess you could indent every line, but you do  
lose some horizontal space.


More information about the rspec-users mailing list