Skip to content

Commit a065524

Browse files
committed
Add reason for failure in test
1 parent 74d44a7 commit a065524

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
@@ -946,7 +946,7 @@ extension TestNSData {
946946
let maps = try String(contentsOfFile: "/proc/self/maps", encoding: .utf8)
947947
XCTAssertTrue(maps.characters.count > 0)
948948
} catch {
949-
XCTFail()
949+
XCTFail("Cannot read /proc/self/maps: \(String(describing: error))")
950950
}
951951
#endif
952952
}

0 commit comments

Comments
 (0)