@@ -224,14 +224,14 @@ class ModelGeneratorTests: XCTestCase {
224224
225225 expect ( baseModelFile!. component. description. count) . to ( equal ( 8 ) )
226226 let descriptions = [
227- " if let value = valueSeven { dictionary.updateValue(value.map { $0 .dictionaryRepresentation() }, forKey: kACBaseClassValueSevenKey ) } " ,
228- " if let value = valueTwo { dictionary.updateValue(value, forKey: kACBaseClassValueTwoKey) } " ,
229- " if let value = valueFour { dictionary.updateValue(value, forKey: kACBaseClassValueFourKey) } " ,
230- " if let value = valueFive { dictionary.updateValue(value, forKey: kACBaseClassValueFiveKey) } " ,
231- " if let value = valueSix { dictionary.updateValue( value.dictionaryRepresentation(), forKey: kACBaseClassValueSixKey) } " ,
232- " if let value = valueOne { dictionary.updateValue(value, forKey: kACBaseClassValueOneKey) } " ,
233- " dictionary.updateValue(valueThree, forKey: kACBaseClassValueThreeKey) " ,
234- " if let value = valueEight { dictionary.updateValue(value, forKey: kACBaseClassValueEightKey) } "
227+ " if let value = valueSix { dictionary[kACBaseClassValueSixKey] = value .dictionaryRepresentation() } " ,
228+ " if let value = valueFive { dictionary[kACBaseClassValueFiveKey] = value } " ,
229+ " if let value = valueTwo { dictionary[kACBaseClassValueTwoKey] = value } " ,
230+ " dictionary[kACBaseClassValueThreeKey] = valueThree " ,
231+ " if let value = valueSeven { dictionary[kACBaseClassValueSevenKey] = value.map { $0. dictionaryRepresentation() } } " ,
232+ " if let value = valueOne { dictionary[kACBaseClassValueOneKey] = value } " ,
233+ " if let value = valueFour { dictionary[kACBaseClassValueFourKey] = value } " ,
234+ " if let value = valueEight { dictionary[kACBaseClassValueEightKey] = value } "
235235 ]
236236 for description in descriptions {
237237 expect ( baseModelFile!. component. description. contains ( description) ) . to ( equal ( true ) )
0 commit comments