Skip to content

Commit cf9aaf2

Browse files
committed
Remove deprecated .characters
1 parent a065524 commit cf9aaf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TestFoundation/TestNSData.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ extension TestNSData {
944944

945945
do {
946946
let maps = try String(contentsOfFile: "/proc/self/maps", encoding: .utf8)
947-
XCTAssertTrue(maps.characters.count > 0)
947+
XCTAssertTrue(maps.count > 0)
948948
} catch {
949949
XCTFail("Cannot read /proc/self/maps: \(String(describing: error))")
950950
}

0 commit comments

Comments
 (0)