Skip to content

Commit 19b5173

Browse files
committed
Simplify diff
1 parent 32e9dc0 commit 19b5173

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Ix.NET/Source/System.Linq.Async.Tests/System/Linq/AsyncEnumerableTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ public class AsyncEnumerableTests
1515
{
1616
protected static readonly IAsyncEnumerable<int> Return42 = new[] { 42 }.ToAsyncEnumerable();
1717

18-
protected Task<TException> AssertThrowsAsync<TException>(Task t)
18+
protected async Task AssertThrowsAsync<TException>(Task t)
1919
where TException : Exception
2020
{
21-
return Assert.ThrowsAsync<TException>(() => t);
21+
await Assert.ThrowsAsync<TException>(() => t);
2222
}
2323

2424
protected async Task AssertThrowsAsync(Task t, Exception e)

0 commit comments

Comments
 (0)