Forum: RSpec pretty inspect for diff?

Posted by Roger Pack (rogerdpack)
on 2011-08-23 19:47
Hello.

I noticed this test "failed" message:

https://gist.github.com/1165975

The salient part is this diff:

       Diff:

       @@ -1,4 +1,4 @@
       -{"blank_outs"=>[["0:00:56.0", "0:00:57.0"], ["0:01:05",
"0:01:14.500"]],
       +{"imdb_id"=>"tt1727587",
         "mutes"=>[],
       - "imdb_id"=>"t1727587"}
       + "blank_outs"=>[["0:00:56", "0:00:57"], ["0:01:05",
"0:01:14.500"]]}


I believe that maybe could have been made to be more useful if it had
been a diff of the "pretty_print" version of these two constructs.

Cheers!
-roger-
Posted by David Chelimsky (Guest)
on 2011-08-23 20:27
(Received via mailing list)
On Aug 23, 2011, at 12:47 PM, Roger Pack wrote:

>       @@ -1,4 +1,4 @@
> been a diff of the "pretty_print" version of these two constructs.
>
> Cheers!
> -roger-

Please post feature requests to the issue trackers: 
http://github.com/rspec/rspec-expectations/issues in this case. Much 
easier to keep track of everything that way.

Cheers,
David
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.