Skip to content

Commit a46b1c5

Browse files
committed
Indent source location of issues one level deeper and use the CustomStringConvertible conformance instead of fileID:line
1 parent c83ae9b commit a46b1c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Testing/Events/Recorder/Event.HumanReadableOutputRecorder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ extension Event {
207207
private func formatIssue(_ issue: IssueInfo) -> String {
208208
var result = " - \(issue.description)\n"
209209
if let location = issue.sourceLocation {
210-
result += " at \(location.fileID):\(location.line)\n"
210+
result += " at \(location)\n"
211211
}
212212
return result
213213
}

0 commit comments

Comments
 (0)