Fix copy/paste typo in CodedInputStreamTest

This commit is contained in:
Jon Skeet 2016-03-01 07:30:40 +00:00
parent 52f62e3652
commit f222a9a5e6

View File

@ -589,7 +589,7 @@ namespace Google.Protobuf
{
var memoryStream = new MemoryStream();
Assert.IsTrue(memoryStream.CanRead);
using (var cos = new CodedOutputStream(memoryStream, true))
using (var cis = new CodedInputStream(memoryStream, true))
{
}
Assert.IsTrue(memoryStream.CanRead); // We left the stream open