If this assert fails:
it prints something like:
<#<Date: 4907679/2,0,2299161>> expected but was
With the dates in a rather odd format, as you see above. Yet Date’s to_s
is perfectly reasonable.
I looked in the TestUnit docs for AssertionMessage, called by
if it’s in there I couldn’t find it.
If I ever knew how to override TestUnit’s printing, I’ve forgotten how.
remind me what’s going on or point me to it.