diff options
author | Jon Skeet <skeet@pobox.com> | 2016-03-01 07:53:27 +0000 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2016-03-01 07:53:27 +0000 |
commit | 584233bd043a80b2172a598039113d4fe14dc326 (patch) | |
tree | 49eda606bba333e3042372954c151353096af192 | |
parent | 52f62e3652ce80ab14593331f4277539e7fa29c8 (diff) | |
parent | f222a9a5e678681d2d3c11f5a38a86b6eef01830 (diff) | |
download | protobuf-584233bd043a80b2172a598039113d4fe14dc326.tar.gz protobuf-584233bd043a80b2172a598039113d4fe14dc326.tar.bz2 protobuf-584233bd043a80b2172a598039113d4fe14dc326.zip |
Merge pull request #1287 from jskeet/fix-typo
Fix copy/paste typo in CodedInputStreamTest
-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
|