mirror of
https://github.com/apple/swift-async-algorithms
synced 2026-11-29 04:54:21 +00:00
Remove debugging prints from validation tests
This commit is contained in:
1 parent
9d46190d67
commit
7545f0b7d2
1 file changed
-2
@@ -34,11 +34,9 @@ extension XCTestCase {
|
||||
}
|
||||
for failure in failures {
|
||||
if let specification = failure.specification {
|
||||
print(specification.location)
|
||||
let location = XCTSourceCodeLocation(filePath: specification.location.file.description, lineNumber: Int(specification.location.line))
|
||||
let context = XCTSourceCodeContext(location: location)
|
||||
let issue = XCTIssue(type: .assertionFailure, compactDescription: failure.description, detailedDescription: detail, sourceCodeContext: context, associatedError: nil, attachments: [])
|
||||
print(location)
|
||||
record(issue)
|
||||
} else {
|
||||
let issue = XCTIssue(type: .assertionFailure, compactDescription: failure.description, detailedDescription: detail, sourceCodeContext: baseContext, associatedError: nil, attachments: [])
|
||||
|
||||
Reference in new issue
Block a user