Skip to content

Commit d1bc767

Browse files
authored
Rename test method
1 parent 837bfaa commit d1bc767

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TestFoundation/TestJSONSerialization.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ extension TestJSONSerialization {
989989
("test_serialize_dictionaryWithDecimal", test_serialize_dictionaryWithDecimal),
990990
("test_serializeDecimalNumberJSONObject", test_serializeDecimalNumberJSONObject),
991991
("test_serializeSortedKeys", test_serializeSortedKeys),
992-
("test_colonPrettyPrintingMatchesDarwin", test_colonPrettyPrintingMatchesDarwin),
992+
("test_serializePrettyPrinted", test_serializePrettyPrinted),
993993
]
994994
}
995995

@@ -1480,7 +1480,7 @@ extension TestJSONSerialization {
14801480
XCTAssertEqual(try trySerialize(dict, options: .sortedKeys), "{\"a\":{\"a\":1,\"b\":1,\"c\":1},\"b\":{\"a\":1,\"b\":1,\"c\":1},\"c\":{\"a\":1,\"b\":1,\"c\":1}}")
14811481
}
14821482

1483-
func test_colonPrettyPrintingMatchesDarwin() {
1483+
func test_serializePrettyPrinted() {
14841484
let dictionary = ["key": 4]
14851485
XCTAssertEqual(try trySerialize(dictionary, options: .prettyPrinted), "{\n \"key\" : 4\n}")
14861486
}

0 commit comments

Comments
 (0)