Skip to content

Commit dca5a37

Browse files
committed
Fix test
1 parent 368435b commit dca5a37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Servers/Kestrel/test/InMemory.FunctionalTests/ResponseTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3286,7 +3286,7 @@ public async Task AdvanceWithTooLargeOfAValueThrowInvalidOperationException(bool
32863286
{
32873287
await response.StartAsync();
32883288
}
3289-
Assert.Throws<InvalidOperationException>(() => response.BodyPipe.Advance(1));
3289+
Assert.Throws<ArgumentOutOfRangeException>(() => response.BodyPipe.Advance(1));
32903290
}, testContext))
32913291
{
32923292
using (var connection = server.CreateConnection())

0 commit comments

Comments
 (0)