On Tue, 27 Aug 2013 17:42:19 +0200
Andrej Mitrovic <andrej.mitrov...@gmail.com> wrote:
> >      The only tool is assert, and you have to write your own
> > assert messages (no assertEqual, assertNull, etc.)
> Currently we have assertThrown/assertNotThrown, but assertEqual and
> friends are easy to implement and we thought about including them.
> However it needs more community support before it's included in Phobos
> (i.e. more people need to want these).

Someone actually crated all of those and made a pull request to Phobos,
but it was rejected because people decided it was better to improve the
regular assert to be able to display such information automatically.
Predictably, these hypothetical improvements to assert never actually
got made (it's been probably around a couple years now), so that's why
we've still got nothing like that in the stock DMD/Phobos.

I do wish we weren't in the habit of letting "perfect" get in the way of

Reply via email to