@@ -78,7 +78,7 @@ func XCTAssertEqualSequences<S1: Sequence, S2: Sequence>(
78
78
_ expression1: @autoclosure ( ) throws -> S1 ,
79
79
_ expression2: @autoclosure ( ) throws -> S2 ,
80
80
_ message: @autoclosure ( ) -> String = " " ,
81
- file: StaticString = #file, line: UInt = #line
81
+ file: StaticString = ( #file) , line: UInt = #line
82
82
) rethrows where S1. Element: Equatable , S1. Element == S2 . Element {
83
83
try XCTAssertEqualSequences ( expression1 ( ) , expression2 ( ) , by: == ,
84
84
message ( ) , file: file, line: line)
@@ -88,7 +88,7 @@ func XCTAssertEqualSequences<S1: Sequence, S2: Sequence>(
88
88
func XCTAssertUnorderedEqualSequences< S1: Sequence , S2: Sequence > (
89
89
_ expression1: @autoclosure ( ) throws -> S1 ,
90
90
_ expression2: @autoclosure ( ) throws -> S2 ,
91
- file: StaticString = #file, line: UInt = #line
91
+ file: StaticString = ( #file) , line: UInt = #line
92
92
) rethrows where S1. Element: Equatable , S1. Element == S2 . Element {
93
93
var s1 = Array ( try expression1 ( ) )
94
94
var missing : [ S1 . Element ] = [ ]
@@ -116,7 +116,7 @@ func XCTAssertEqualSequences<S1: Sequence, S2: Sequence>(
116
116
_ expression2: @autoclosure ( ) throws -> S2 ,
117
117
by areEquivalent: ( S1 . Element , S1 . Element ) -> Bool ,
118
118
_ message: @autoclosure ( ) -> String = " " ,
119
- file: StaticString = #file, line: UInt = #line
119
+ file: StaticString = ( #file) , line: UInt = #line
120
120
) rethrows where S1. Element == S2 . Element {
121
121
122
122
func fail( _ reason: String ) {
@@ -153,7 +153,7 @@ func XCTAssertEqualCollections<C1: Collection, C2: Collection>(
153
153
_ expression1: @autoclosure ( ) throws -> C1 ,
154
154
_ expression2: @autoclosure ( ) throws -> C2 ,
155
155
_ message: @autoclosure ( ) -> String = " " ,
156
- file: StaticString = #file, line: UInt = #line
156
+ file: StaticString = ( #file) , line: UInt = #line
157
157
) rethrows where C1. Element: Equatable , C1. Element == C2 . Element {
158
158
let c1 = try expression1 ( )
159
159
let c2 = try expression2 ( )
0 commit comments