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 9a4f882 commit 78f7afbCopy full SHA for 78f7afb
src/Servers/Kestrel/test/FunctionalTests/ConnectionMiddlewareTests.cs
@@ -27,7 +27,7 @@ public async Task ThrowingSynchronousConnectionMiddlewareDoesNotCrashServer()
27
using (var connection = server.CreateConnection())
28
{
29
// Will throw because the exception in the connection adapter will close the connection.
30
- await Assert.ThrowsAsync<IOException>(async () =>
+ await Assert.ThrowsAnyAsync<IOException>(async () =>
31
32
await connection.Send(
33
"POST / HTTP/1.0",
0 commit comments