Skip to content

Commit c656538

Browse files
committed
2 integer
1 parent 751ac05 commit c656538

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/KeyValueDecoderTests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -898,12 +898,12 @@ struct KeyValueDecoderTests {
898898
// expectDecodingError(try KeyValueDecoder.decode(Seafood.self, from: 10)) { error in
899899
// #expect(error.debugDescription == "Expected String at SELF, found Int")
900900
// }
901-
expectDecodingError(try KeyValueDecoder.decode(Int.self, from: NSNull())) { error in
902-
#expect(error.debugDescription == "Expected BinaryInteger at SELF, found NSNull")
903-
}
904-
// expectDecodingError(try KeyValueDecoder.decode(Int.self, from: Optional<Int>.none)) { error in
905-
// #expect(error.debugDescription == "Expected BinaryInteger at SELF, found nil")
901+
// expectDecodingError(try KeyValueDecoder.decode(Int.self, from: NSNull())) { error in
902+
// #expect(error.debugDescription == "Expected BinaryInteger at SELF, found NSNull")
906903
// }
904+
expectDecodingError(try KeyValueDecoder.decode(Int.self, from: Optional<Int>.none)) { error in
905+
#expect(error.debugDescription == "Expected BinaryInteger at SELF, found nil")
906+
}
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
// }

0 commit comments

Comments
 (0)