How to catch RangeError in unittest?

wjoe invalid at example.com
Tue Feb 18 13:26:01 UTC 2020


On Tuesday, 18 February 2020 at 13:07:35 UTC, wjoe wrote:
> I have a function add(index, data) which throws RangeError if 
> the index is invalid.
>

Never mind. For whatever reason RangeError is now caught. Sorry 
for the noise.


More information about the Digitalmars-d-learn mailing list