From: mmalaidini@... Date: 2008-04-14T08:00:21+09:00 Subject: Re: change usage of pp in Test::Unit assertions On Apr 13, 1:03 pm, Jano Svitok wrote: > On Sun, Apr 13, 2008 at 5:15 AM,   wrote: > >  Is there any way to change this behaviour and make assert_equal print > >  Date.to_s and DateTime.to_s when the comparison fail? > > You have two possibilities: > > 1. set Test::Unit::Assertions.use_pp to false, thus using Date#inspect, or That made it. I was playing with Date#inspect, but noticed that Test::Unit::Assertions was using PP anyway. Thanks MM.