adjust tests

This commit is contained in:
Adam Hathcock
2026-02-13 13:38:37 +00:00
parent 7cef629a06
commit d138999445
2 changed files with 1 additions and 14 deletions

View File

@@ -103,9 +103,8 @@ public class SharpCompressStreamErrorAsyncTest
var buffer = new byte[32];
for (int i = 0; i < 3; i++)
{
await stream.ReadAsync(buffer, 0, 32).ConfigureAwait(false);
await stream.ReadExactAsync(buffer, 0, 32).ConfigureAwait(false);
}
stream.Rewind();
Assert.Throws<InvalidOperationException>(() => stream.Rewind());
}