Skip to content

Commit 32e9dc0

Browse files
committed
Fix broken test
1 parent 19f2ac7 commit 32e9dc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ protected Task<TException> AssertThrowsAsync<TException>(Task t)
2323

2424
protected async Task AssertThrowsAsync(Task t, Exception e)
2525
{
26-
var ex = await AssertThrowsAsync<Exception>(t);
26+
var ex = await Assert.ThrowsAnyAsync<Exception>(() => t);
2727
Assert.Same(e, ex);
2828
}
2929

0 commit comments

Comments
 (0)