Fix copy/paste typo in CodedInputStreamTest

pull/1287/head
Jon Skeet 9 years ago
parent 52f62e3652
commit f222a9a5e6
  1. 2
      csharp/src/Google.Protobuf.Test/CodedInputStreamTest.cs

@ -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

Loading…
Cancel
Save