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 32e9dc0 commit 19b5173Copy full SHA for 19b5173
Ix.NET/Source/System.Linq.Async.Tests/System/Linq/AsyncEnumerableTests.cs
@@ -15,10 +15,10 @@ public class AsyncEnumerableTests
15
{
16
protected static readonly IAsyncEnumerable<int> Return42 = new[] { 42 }.ToAsyncEnumerable();
17
18
- protected Task<TException> AssertThrowsAsync<TException>(Task t)
+ protected async Task AssertThrowsAsync<TException>(Task t)
19
where TException : Exception
20
21
- return Assert.ThrowsAsync<TException>(() => t);
+ await Assert.ThrowsAsync<TException>(() => t);
22
}
23
24
protected async Task AssertThrowsAsync(Task t, Exception e)
0 commit comments