@@ -87,13 +87,15 @@ final class GroupedVariableTests: XCTestCase {
8787 var container = encoder.container(keyedBy: CodingKeys.self)
8888 try container.encode(self.one, forKey: CodingKeys.one)
8989 try container.encode(self.two, forKey: CodingKeys.two)
90+ try container.encode(self.three, forKey: CodingKeys.three)
9091 }
9192 }
9293
9394 extension SomeCodable {
9495 enum CodingKeys: String, CodingKey {
9596 case one = " one "
9697 case two = " two "
98+ case three = " three "
9799 }
98100 }
99101 """
@@ -220,13 +222,15 @@ final class GroupedVariableTests: XCTestCase {
220222 func encode(to encoder: any Encoder) throws {
221223 var container = encoder.container(keyedBy: CodingKeys.self)
222224 try container.encode(self.one, forKey: CodingKeys.one)
225+ try container.encode(self.two, forKey: CodingKeys.two)
223226 try container.encode(self.three, forKey: CodingKeys.three)
224227 }
225228 }
226229
227230 extension SomeCodable {
228231 enum CodingKeys: String, CodingKey {
229232 case one = " one "
233+ case two = " two "
230234 case three = " three "
231235 }
232236 }
@@ -266,13 +270,15 @@ final class GroupedVariableTests: XCTestCase {
266270 func encode(to encoder: any Encoder) throws {
267271 var container = encoder.container(keyedBy: CodingKeys.self)
268272 try container.encode(self.one, forKey: CodingKeys.one)
273+ try container.encode(self.two, forKey: CodingKeys.two)
269274 try container.encode(self.three, forKey: CodingKeys.three)
270275 }
271276 }
272277
273278 extension SomeCodable {
274279 enum CodingKeys: String, CodingKey {
275280 case one = " one "
281+ case two = " two "
276282 case three = " three "
277283 }
278284 }
0 commit comments