From f222a9a5e678681d2d3c11f5a38a86b6eef01830 Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Tue, 1 Mar 2016 07:30:40 +0000 Subject: [PATCH] Fix copy/paste typo in CodedInputStreamTest --- csharp/src/Google.Protobuf.Test/CodedInputStreamTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/src/Google.Protobuf.Test/CodedInputStreamTest.cs b/csharp/src/Google.Protobuf.Test/CodedInputStreamTest.cs index 239d3c9a39..c0a9ffd124 100644 --- a/csharp/src/Google.Protobuf.Test/CodedInputStreamTest.cs +++ b/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