Commit f222a9a5 authored by Jon Skeet's avatar Jon Skeet

Fix copy/paste typo in CodedInputStreamTest

parent 52f62e36
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment