Closed itsWindows11 closed 2 months ago
Assert.ThrowsException only explicitly checks for an exception, not the exceptions that derive from it. Some libraries throw a TaskCanceledException instead of an OperationCanceledException, which may cause issues with tests.
Assert.ThrowsException
Assert.ThrowsException
only explicitly checks for an exception, not the exceptions that derive from it. Some libraries throw a TaskCanceledException instead of an OperationCanceledException, which may cause issues with tests.