Skip to content

Commit 313cc93

Browse files
David DunnDavid Dunn
authored andcommitted
Fix a typo in the tests
1 parent 78de7ea commit 313cc93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TestFoundation/TestNSJSONSerialization.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,12 +1070,12 @@ extension TestNSJSONSerialization {
10701070

10711071
func test_serialize_UIntMax() {
10721072
let json: [Any] = [UInt.max]
1073-
XCTAssertEqual(try trySerialize(json), "[\(Int.max)]")
1073+
XCTAssertEqual(try trySerialize(json), "[\(UInt.max)]")
10741074
}
10751075

10761076
func test_serialize_UIntMin() {
10771077
let json: [Any] = [UInt.min]
1078-
XCTAssertEqual(try trySerialize(json), "[\(Int.min)]")
1078+
XCTAssertEqual(try trySerialize(json), "[\(UInt.min)]")
10791079
}
10801080

10811081
func test_serialize_stringEscaping() {

0 commit comments

Comments
 (0)