How can one reliably run unittests
Paul Backus
snarwin at gmail.com
Wed Aug 25 13:33:50 UTC 2021
On Wednesday, 25 August 2021 at 13:28:40 UTC, wjoe wrote:
> On Wednesday, 25 August 2021 at 13:25:22 UTC, Paul Backus wrote:
>> On Wednesday, 25 August 2021 at 13:23:22 UTC, wjoe wrote:
>>> [...]
>>
>> Errors thrown by assertions in unit tests are a special case:
>>
>>> [...]
>>
>> Source: https://dlang.org/spec/unittest.html
>
> That's good to know but I was specifically referring to the
> catch(Throwable) part in the above example.
Good point. It should probably be catch(AssertError), although
even that is technically too broad.
More information about the Digitalmars-d
mailing list