File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Sources/XCTestDynamicOverlay Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments