Browse Source

Fix copy/paste typo in CodedInputStreamTest

Jon Skeet 9 years ago
parent
commit
f222a9a5e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      csharp/src/Google.Protobuf.Test/CodedInputStreamTest.cs

+ 1 - 1
csharp/src/Google.Protobuf.Test/CodedInputStreamTest.cs

@@ -589,7 +589,7 @@ namespace Google.Protobuf
         {
         {
             var memoryStream = new MemoryStream();
             var memoryStream = new MemoryStream();
             Assert.IsTrue(memoryStream.CanRead);
             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
             Assert.IsTrue(memoryStream.CanRead); // We left the stream open