@@ -215,7 +215,7 @@ private func describe(_ object: AnyObject?) -> String {
215
215
}
216
216
217
217
/// Asserts that two values are identical.
218
- public func XCTAssertIdentical( _ expression1: @autoclosure ( ) throws -> AnyObject ? , _ expression2: @autoclosure ( ) throws -> AnyObject ? , _ message: @autoclosure ( ) -> String = " " , file: StaticString = #filePath , line: UInt = #line) {
218
+ public func XCTAssertIdentical( _ expression1: @autoclosure ( ) throws -> AnyObject ? , _ expression2: @autoclosure ( ) throws -> AnyObject ? , _ message: @autoclosure ( ) -> String = " " , file: StaticString = #file , line: UInt = #line) {
219
219
_XCTEvaluateAssertion ( . identical, message: message ( ) , file: file, line: line) {
220
220
let ( value1, value2) = ( try expression1 ( ) , try expression2 ( ) )
221
221
if value1 === value2 {
@@ -227,7 +227,7 @@ public func XCTAssertIdentical(_ expression1: @autoclosure () throws -> AnyObjec
227
227
}
228
228
229
229
/// Asserts that two values aren't identical.
230
- public func XCTAssertNotIdentical( _ expression1: @autoclosure ( ) throws -> AnyObject ? , _ expression2: @autoclosure ( ) throws -> AnyObject ? , _ message: @autoclosure ( ) -> String = " " , file: StaticString = #filePath , line: UInt = #line) {
230
+ public func XCTAssertNotIdentical( _ expression1: @autoclosure ( ) throws -> AnyObject ? , _ expression2: @autoclosure ( ) throws -> AnyObject ? , _ message: @autoclosure ( ) -> String = " " , file: StaticString = #file , line: UInt = #line) {
231
231
_XCTEvaluateAssertion ( . notIdentical, message: message ( ) , file: file, line: line) {
232
232
let ( value1, value2) = ( try expression1 ( ) , try expression2 ( ) )
233
233
if value1 !== value2 {
0 commit comments