Browse Source

Fix typo that snuck in with last commit.

Thomas Van Lenten 6 năm trước cách đây
mục cha
commit
030a38b954
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      objectivec/Tests/GPBMessageTests.m

+ 1 - 1
objectivec/Tests/GPBMessageTests.m

@@ -357,7 +357,7 @@
   NSMutableData *data = [NSMutableData data];
   NSKeyedArchiver *archiver = [[NSKeyedArchiver alloc] initForWritingWithMutableData:data];
   [archiver setRequiresSecureCoding:YES];
-  [archiver encodeObject:obj forKey:key];
+  [archiver encodeObject:original forKey:key];
   [archiver finishEncoding];
 
   NSKeyedUnarchiver *unarchiver = [[NSKeyedUnarchiver alloc] initForReadingWithData:data];