Unit testing with asserts: Why is assertHandler required to throw?

Lutger lutger.blijdestijn at gmail.com
Sun Jan 31 13:06:08 PST 2010


On 01/31/2010 10:04 PM, Nick Sabalausky wrote:
> "Lutger"<lutger.blijdestijn at gmail.com>  wrote in message
> news:hk4r35$1hpg$1 at digitalmars.com...
>>
>> You can use line and file info with default arguments, this works (special
>> case).
>
> That must be a D2 thing, because I know it doesn't work in D1.
>
>

Indeed, here is the change:

http://www.digitalmars.com/d/2.0/changelog.html#new2_013



More information about the Digitalmars-d mailing list