Fix packaging test use of Stream.Read (#54233)
authorStephen Toub <stoub@microsoft.com>
Wed, 16 Jun 2021 16:56:03 +0000 (12:56 -0400)
committerGitHub <noreply@github.com>
Wed, 16 Jun 2021 16:56:03 +0000 (12:56 -0400)
commit09249f3892b2dca5ed6be8783fac9eb54c7a4261
tree2cf60a2d95679aaaa729ca21a053b9e11648c871
parent9d0be76824dd00e53115586111dc9268f85e99cf
Fix packaging test use of Stream.Read (#54233)

Read returning the number of bytes requested is not guaranteed.
src/libraries/System.IO.Packaging/tests/Tests.cs