From: mmalaidini@... Date: 2008-04-13T12:15:16+09:00 Subject: change usage of pp in Test::Unit assertions Hi all. I have some Test::Unit testcases that deal with Date and DateTime. If, for whatever reason, I have a failing assert_equal on either Date or DateTime, the resulting message is quite difficult to read: the reason obviously is that pp dumps the content of the object, it doesn't rely on to_s or other more readable ways. Is there any way to change this behaviour and make assert_equal print Date.to_s and DateTime.to_s when the comparison fail? TIA MM