public void TestAsyncExceptionFromVoid() { using (ApprovalTests.Namers.ApprovalResults.UniqueForOs()) { AsyncApprovals.VerifyException(ThrowBabyThrow(), ScrubberUtils.RemoveLinesContaining("System.Linq.Parallel.QueryTask")); } }
public void TestAsyncExceptionFromVoid() { using (Namers.ApprovalResults.UniqueForOs()) { AsyncApprovals.VerifyException(ThrowBabyThrow(), ScrubberUtils.Combine( ScrubberUtils.RemoveLinesContaining("System.Linq.Parallel.QueryTask"), ScrubberUtils.RemoveLinesContaining("System.Threading.Tasks.Task.InnerInvoke")) ); } }
public void TestNoExceptions() { AsyncApprovals.VerifyException(async() => 1); }
public void TestAsyncExceptionFromVoid() { AsyncApprovals.VerifyException(ThrowBabyThrow(), ScrubberUtils.RemoveLinesContaining("System.Linq.Parallel.QueryTask")); }