Unittest assertion failure messages in OSX

Ali Çehreli acehreli at yahoo.com
Sun Oct 27 23:59:46 PDT 2013


On 10/26/2013 12:12 AM, Kapps wrote:
> With git master using OSX Mavericks I'm noticing that I'm no longer
> seeing any assertion failure messages from inside unittest blocks.
>
> For example with:
> import std.stdio;
>
> unittest {
>      writeln("Reached unittest.");
>      assert(0);
>      writeln("After failed assertion.");
> }
>
> Output:
> rdmd -main -unittest test2.d
> Reached unittest.
>
>
> Replacing unittest with void main(), the assertion message prints out
> properly. Is this something that's just odd with my setup, or is this
> happening to others running OSX / git master?

Ping.

Could others chime in and reopen this bug please. It has just been 
closed as WORKSFORWALTER. ;)

   http://d.puremagic.com/issues/show_bug.cgi?id=11362

Ali



More information about the Digitalmars-d mailing list