Skip to content

Commit 460e2b6

Browse files
committed
next to last
1 parent c16160c commit 460e2b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/KeyValueDecoderTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -907,12 +907,12 @@ struct KeyValueDecoderTests {
907907
expectDecodingError(try KeyValueDecoder.decode([Int].self, from: [0, 1, true] as [Any])) { error in
908908
#expect(error.debugDescription == "Expected BinaryInteger at SELF[2], found Bool")
909909
}
910-
expectDecodingError(try KeyValueDecoder.decode(AllTypes.self, from: ["tArray": [["tString": 0]]] as [String: Any])) { error in
911-
#expect(error.debugDescription == "Expected String at SELF.tArray[0].tString, found Int")
912-
}
913910
// expectDecodingError(try KeyValueDecoder.decode(AllTypes.self, from: ["tArray": [["tString": 0]]] as [String: Any])) { error in
914911
// #expect(error.debugDescription == "Expected String at SELF.tArray[0].tString, found Int")
915912
// }
913+
expectDecodingError(try KeyValueDecoder.decode(AllTypes.self, from: ["tArray": [["tString": 0]]] as [String: Any])) { error in
914+
#expect(error.debugDescription == "Expected String at SELF.tArray[0].tString, found Int")
915+
}
916916
}
917917

918918
@Test

0 commit comments

Comments
 (0)