Closed Tratcher closed 6 years ago
These tests use BufferedStream and then a mock stream that the buffer gets flushed to. BufferedStream was just changed to call a new overload of WriteAsync when flushing, so the mock missed it. https://github.com/dotnet/corefx/blame/master/src/System.Runtime.Extensions/src/System/IO/BufferedStream.cs#L416
Replace the mock with a MemoryStream.
These tests use BufferedStream and then a mock stream that the buffer gets flushed to. BufferedStream was just changed to call a new overload of WriteAsync when flushing, so the mock missed it. https://github.com/dotnet/corefx/blame/master/src/System.Runtime.Extensions/src/System/IO/BufferedStream.cs#L416
Replace the mock with a MemoryStream.