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 368435b commit dca5a37Copy full SHA for dca5a37
src/Servers/Kestrel/test/InMemory.FunctionalTests/ResponseTests.cs
@@ -3286,7 +3286,7 @@ public async Task AdvanceWithTooLargeOfAValueThrowInvalidOperationException(bool
3286
{
3287
await response.StartAsync();
3288
}
3289
- Assert.Throws<InvalidOperationException>(() => response.BodyPipe.Advance(1));
+ Assert.Throws<ArgumentOutOfRangeException>(() => response.BodyPipe.Advance(1));
3290
}, testContext))
3291
3292
using (var connection = server.CreateConnection())
0 commit comments