Skip to content

Commit 0e18031

Browse files
committed
remove binary integer
1 parent c44d58d commit 0e18031

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

Tests/KeyValueDecoderTests.swift

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -907,20 +907,20 @@ struct KeyValueDecoderTests {
907907
}
908908
#expect(error?.debugDescription == "Expected String at SELF, found Int")
909909

910-
error = #expect(throws: DecodingError.self) {
911-
try KeyValueDecoder.decode(Int.self, from: NSNull())
912-
}
913-
#expect(error?.debugDescription == "Expected BinaryInteger at SELF, found NSNull")
914-
915-
error = #expect(throws: DecodingError.self) {
916-
try KeyValueDecoder.decode(Int.self, from: Optional<Int>.none)
917-
}
918-
#expect(error?.debugDescription == "Expected BinaryInteger at SELF, found nil")
919-
920-
error = #expect(throws: DecodingError.self) {
921-
try KeyValueDecoder.decode([Int].self, from: [0, 1, true] as [Any])
922-
}
923-
#expect(error?.debugDescription == "Expected BinaryInteger at SELF[2], found Bool")
910+
// error = #expect(throws: DecodingError.self) {
911+
// try KeyValueDecoder.decode(Int.self, from: NSNull())
912+
// }
913+
// #expect(error?.debugDescription == "Expected BinaryInteger at SELF, found NSNull")
914+
//
915+
// error = #expect(throws: DecodingError.self) {
916+
// try KeyValueDecoder.decode(Int.self, from: Optional<Int>.none)
917+
// }
918+
// #expect(error?.debugDescription == "Expected BinaryInteger at SELF, found nil")
919+
//
920+
// error = #expect(throws: DecodingError.self) {
921+
// try KeyValueDecoder.decode([Int].self, from: [0, 1, true] as [Any])
922+
// }
923+
// #expect(error?.debugDescription == "Expected BinaryInteger at SELF[2], found Bool")
924924

925925
// error = #expect(throws: DecodingError.self) {
926926
// try KeyValueDecoder.decode(AllTypes.self, from: ["tArray": [["tString": 0]]] as [String: Any])

0 commit comments

Comments
 (0)