mirror of
https://github.com/SabreTools/SabreTools.IO.git
synced 2026-09-24 07:35:57 +00:00
Fix ROCS test
This commit is contained in:
@@ -79,7 +79,9 @@ namespace SabreTools.IO.Test.Streams
|
||||
var stream = new ReadOnlyCompositeStream();
|
||||
|
||||
byte[] buf = new byte[512];
|
||||
Assert.Throws<ArgumentOutOfRangeException>(() => stream.Read(buf, 0, 512));
|
||||
int read = stream.Read(buf, 0, 512);
|
||||
|
||||
Assert.Equal(0, read);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user