diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2016-01-05 14:25:17 -0500 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2016-01-05 14:25:17 -0500 |
commit | ca428c1bc9c36f3a611669aa90cbda5224fc5041 (patch) | |
tree | 2919699f152694274c99b9e61277d4bc9ca181f5 /objectivec/Tests/GPBMessageTests+Merge.m | |
parent | 2f15b8f50c2b4d6aab5a836bdc75d0fa65ec1f05 (diff) | |
download | protobuf-ca428c1bc9c36f3a611669aa90cbda5224fc5041.tar.gz protobuf-ca428c1bc9c36f3a611669aa90cbda5224fc5041.tar.bz2 protobuf-ca428c1bc9c36f3a611669aa90cbda5224fc5041.zip |
Have the tests rely on the autocreator behaviors.
Incase developers look at the tests for examples, have them rely on the
autocreators also.
Diffstat (limited to 'objectivec/Tests/GPBMessageTests+Merge.m')
-rw-r--r-- | objectivec/Tests/GPBMessageTests+Merge.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/objectivec/Tests/GPBMessageTests+Merge.m b/objectivec/Tests/GPBMessageTests+Merge.m index a3908aab..c0bd5897 100644 --- a/objectivec/Tests/GPBMessageTests+Merge.m +++ b/objectivec/Tests/GPBMessageTests+Merge.m @@ -675,14 +675,12 @@ TestAllTypes *subMsg = [TestAllTypes message]; subMsg.repeatedInt32Array = [GPBInt32Array arrayWithValue:100]; - msg1.mapInt32Message = [GPBInt32ObjectDictionary dictionary]; [msg1.mapInt32Message setObject:subMsg forKey:0]; subMsg = nil; subMsg = [TestAllTypes message]; subMsg.repeatedInt32Array = [GPBInt32Array arrayWithValue:101]; - msg2.mapInt32Message = [GPBInt32ObjectDictionary dictionary]; - + [msg2.mapInt32Message setObject:subMsg forKey:0]; subMsg = nil; |