[phobos] Question about std.datetime
Andrei Alexandrescu
andrei at erdani.com
Sat Feb 12 08:22:30 PST 2011
On 2/12/11 9:42 AM, Jonathan M Davis wrote:
> On Saturday 12 February 2011 05:08:34 Andrei Alexandrescu wrote:
>> Now that I made one pass through std.datetime, I have an unrelated
>> question - why version(testStdDateTime)? Unless there is a special
>> reason, I suggest let's just define unittests the same way for the
>> entire phobos.
>
> It's because of
>
> http://d.puremagic.com/issues/show_bug.cgi?id=5454
I understand. I experienced the same issue in std.format, but only in
the release version. For the future I recommend using
version(testStdDateTime) unittest
{
...
}
to save one level of indentation.
Andrei
More information about the phobos
mailing list