On Saturday 12 February 2011 08:22:30 Andrei Alexandrescu wrote: > 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.
Well, I can add that to the list of things to change when I work on the unit tests. - Jonathan M Davis _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
