Skip to content

Commit

Permalink
correct keyedContainerNestedUnkeyedContainerTest
Browse files Browse the repository at this point in the history
copy pasta 🤦
  • Loading branch information
alexdeem committed Jul 23, 2024
1 parent e2095f2 commit 0b3caa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/EnvironmentDecoderTests/EnvironmentDecoderTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -327,14 +327,14 @@ struct EnvironmentDecoderTests {
let env = [
"STRING": "abcdef123786",
"OPTIONS_A": "prettyPrinted,sortedKeys",
"OPTIONS_B": "prettyPrinted,sortedKeys",
"OPTIONS_B": "withoutEscapingSlashes,sortedKeys,invalidValue",
"OPTIONS_C": "",
]
let result = try EnvironmentDecoder().decode(A.self, from: env)
#expect(result.string == "abcdef123786")
#expect(result.optionsA == [.prettyPrinted, .sortedKeys])
#expect(jsonResult.optionsB == [.sortedKeys, .withoutEscapingSlashes])
#expect(jsonResult.optionsC == [])
#expect(result.optionsB == [.sortedKeys, .withoutEscapingSlashes])
#expect(result.optionsC == [])
}

@Test func unkeyedContainerTest() throws {
Expand Down

0 comments on commit 0b3caa4

Please sign in to comment.