Are exceptions caught in unittests?

Ferhat Kurtulmuş aferust at gmail.com
Fri Feb 16 07:43:24 UTC 2024


When I tried to catch exceptions in my unit test, I found that 
exceptions were not thrown or caught in the unit test blocks. So, 
I cannot use assertThrown at all. Is this a bug or expected 
behavior that I don't know?

Using LDC 1.36.0 on Windows.

https://github.com/aferust/evalex/blob/main/source/evalex.d#L694


More information about the Digitalmars-d-learn mailing list