Merge pull request #1287 from jskeet/fix-typo

Fix copy/paste typo in CodedInputStreamTest
This commit is contained in:
Jon Skeet 2016-03-01 07:53:27 +00:00
commit 584233bd04

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