We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19f2ac7 commit 32e9dc0Copy full SHA for 32e9dc0
Ix.NET/Source/System.Linq.Async.Tests/System/Linq/AsyncEnumerableTests.cs
@@ -23,7 +23,7 @@ protected Task<TException> AssertThrowsAsync<TException>(Task t)
23
24
protected async Task AssertThrowsAsync(Task t, Exception e)
25
{
26
- var ex = await AssertThrowsAsync<Exception>(t);
+ var ex = await Assert.ThrowsAnyAsync<Exception>(() => t);
27
Assert.Same(e, ex);
28
}
29
0 commit comments