Skip to content

Commit

Permalink
update test to remove artificial safety. we're definitely writing the…
Browse files Browse the repository at this point in the history
… correct amount of bytes now
  • Loading branch information
scbedd committed Feb 16, 2023
1 parent dac75ec commit 3e2becb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ public void TestGetBatches(string input, int batchCount)
// ensure that all bytes are accounted for across the batches
foreach(var chunk in chunks)
{
for (int j = 0; j < chunk.Length && bodyPosition < bodyData.Length; j++)
for (int j = 0; j < chunk.Length; j++)
{
Assert.Equal(chunk[j], bodyData[bodyPosition]);
bodyPosition++;
Expand Down

0 comments on commit 3e2becb

Please sign in to comment.