aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/src/Google.Protobuf.Test/CodedInputStreamTest.cs
diff options
context:
space:
mode:
authorGravatar Jon Skeet <jonskeet@google.com>2016-03-01 07:30:40 +0000
committerGravatar Jon Skeet <jonskeet@google.com>2016-03-01 07:30:40 +0000
commitf222a9a5e678681d2d3c11f5a38a86b6eef01830 (patch)
tree49eda606bba333e3042372954c151353096af192 /csharp/src/Google.Protobuf.Test/CodedInputStreamTest.cs
parent52f62e3652ce80ab14593331f4277539e7fa29c8 (diff)
Fix copy/paste typo in CodedInputStreamTest
Diffstat (limited to 'csharp/src/Google.Protobuf.Test/CodedInputStreamTest.cs')
-rw-r--r--csharp/src/Google.Protobuf.Test/CodedInputStreamTest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/src/Google.Protobuf.Test/CodedInputStreamTest.cs b/csharp/src/Google.Protobuf.Test/CodedInputStreamTest.cs
index 239d3c9a..c0a9ffd1 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