aboutsummaryrefslogtreecommitdiffhomepage
path: root/objectivec/Tests/GPBMessageTests+Merge.m
diff options
context:
space:
mode:
authorGravatar Thomas Van Lenten <thomasvl@google.com>2016-01-05 14:25:17 -0500
committerGravatar Thomas Van Lenten <thomasvl@google.com>2016-01-05 14:25:17 -0500
commitca428c1bc9c36f3a611669aa90cbda5224fc5041 (patch)
tree2919699f152694274c99b9e61277d4bc9ca181f5 /objectivec/Tests/GPBMessageTests+Merge.m
parent2f15b8f50c2b4d6aab5a836bdc75d0fa65ec1f05 (diff)
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.m4
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;