Forum: RSpec pretty inspect for diff?

Bec38d63650c8912b6ba9b557fb953b9?d=identicon&s=25 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-
5d38ab152e1e3e219512a9859fcd93af?d=identicon&s=25 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
This topic is locked and can not be replied to.