Skip to content

Commit ffe3f54

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent ace2130 commit ffe3f54

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Sources/XCTestDynamicOverlay/XCTFail.swift

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,18 @@ import Foundation
7777
else { return }
7878

7979
let displayName =
80-
Bundle.main.object(forInfoDictionaryKey: "CFBundleDisplayName") as? String
81-
?? Bundle.main.object(forInfoDictionaryKey: kCFBundleNameKey as String) as? String
82-
?? "Unknown host application"
80+
Bundle.main.object(forInfoDictionaryKey: "CFBundleDisplayName") as? String
81+
?? Bundle.main.object(forInfoDictionaryKey: kCFBundleNameKey as String) as? String
82+
?? "Unknown host application"
8383

8484
let bundleIdentifier = Bundle.main.bundleIdentifier ?? "Unknown bundle identifier"
8585

8686
if !message.contains(where: \.isNewline) {
8787
message.append("")
8888
}
8989

90-
message.append("""
90+
message.append(
91+
"""
9192
9293
9394
┏━━━━━━━━━━━━━━━━━┉┅
@@ -129,7 +130,9 @@ import Foundation
129130
else { return false }
130131

131132
return frame.range(of: mangledTestFrame, options: .regularExpression)
132-
.map { (_typeByName(String(frame[$0])) as? NSObject.Type)?.isSubclass(of: XCTestCase) ?? false }
133+
.map {
134+
(_typeByName(String(frame[$0])) as? NSObject.Type)?.isSubclass(of: XCTestCase) ?? false
135+
}
133136
?? false
134137
}
135138
#elseif canImport(XCTest)

0 commit comments

Comments
 (0)