Closed psfinaki closed 4 days ago
Found when reviewing this PR. The code throws ArgumentOutOfRangeException and the tests verify ArgumentException, here. Not good.
ArgumentOutOfRangeException
ArgumentException
CheckThrowsExn should be adjusted to match the exception type, otherwise it only checks them within the type hierarchy.
CheckThrowsExn
/azp run
Found when reviewing this PR. The code throws
ArgumentOutOfRangeException
and the tests verifyArgumentException
, here. Not good.CheckThrowsExn
should be adjusted to match the exception type, otherwise it only checks them within the type hierarchy.