diff options
author | Jon Skeet <jonskeet@google.com> | 2016-03-01 07:30:40 +0000 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2016-03-01 07:30:40 +0000 |
commit | f222a9a5e678681d2d3c11f5a38a86b6eef01830 (patch) | |
tree | 49eda606bba333e3042372954c151353096af192 /csharp | |
parent | 52f62e3652ce80ab14593331f4277539e7fa29c8 (diff) | |
download | protobuf-f222a9a5e678681d2d3c11f5a38a86b6eef01830.tar.gz protobuf-f222a9a5e678681d2d3c11f5a38a86b6eef01830.tar.bz2 protobuf-f222a9a5e678681d2d3c11f5a38a86b6eef01830.zip |
Fix copy/paste typo in CodedInputStreamTest
Diffstat (limited to 'csharp')
-rw-r--r-- | csharp/src/Google.Protobuf.Test/CodedInputStreamTest.cs | 2 |
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
|