Skip to content

Commit 0b3caa4

Browse files
committed
correct keyedContainerNestedUnkeyedContainerTest
copy pasta 🤦
1 parent e2095f2 commit 0b3caa4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/EnvironmentDecoderTests/EnvironmentDecoderTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,14 +327,14 @@ struct EnvironmentDecoderTests {
327327
let env = [
328328
"STRING": "abcdef123786",
329329
"OPTIONS_A": "prettyPrinted,sortedKeys",
330-
"OPTIONS_B": "prettyPrinted,sortedKeys",
330+
"OPTIONS_B": "withoutEscapingSlashes,sortedKeys,invalidValue",
331331
"OPTIONS_C": "",
332332
]
333333
let result = try EnvironmentDecoder().decode(A.self, from: env)
334334
#expect(result.string == "abcdef123786")
335335
#expect(result.optionsA == [.prettyPrinted, .sortedKeys])
336-
#expect(jsonResult.optionsB == [.sortedKeys, .withoutEscapingSlashes])
337-
#expect(jsonResult.optionsC == [])
336+
#expect(result.optionsB == [.sortedKeys, .withoutEscapingSlashes])
337+
#expect(result.optionsC == [])
338338
}
339339

340340
@Test func unkeyedContainerTest() throws {

0 commit comments

Comments
 (0)