Unittest assertion failure messages in OSX

Kapps opantm2+spam at gmail.com
Sat Oct 26 00:12:21 PDT 2013


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?


More information about the Digitalmars-d mailing list