@@ -636,25 +636,25 @@ class TestIndexPath: XCTestCase {
636636 return NSIndexPath ( indexes: buffer. baseAddress, length: buffer. count)
637637 }
638638
639- var ip1 : IndexPath ? = IndexPath ( )
639+ var ip1 : IndexPath ?
640640 IndexPath . _forceBridgeFromObjectiveC ( nsip1, result: & ip1)
641641 XCTAssertNotNil ( ip1)
642642 XCTAssertEqual ( ip1!. count, 0 )
643643
644- var ip2 : IndexPath ? = IndexPath ( )
644+ var ip2 : IndexPath ?
645645 IndexPath . _forceBridgeFromObjectiveC ( nsip2, result: & ip2)
646646 XCTAssertNotNil ( ip2)
647647 XCTAssertEqual ( ip2!. count, 1 )
648648 XCTAssertEqual ( ip2![ 0 ] , 1 )
649649
650- var ip3 : IndexPath ? = IndexPath ( )
650+ var ip3 : IndexPath ?
651651 IndexPath . _forceBridgeFromObjectiveC ( nsip3, result: & ip3)
652652 XCTAssertNotNil ( ip3)
653653 XCTAssertEqual ( ip3!. count, 2 )
654654 XCTAssertEqual ( ip3![ 0 ] , 1 )
655655 XCTAssertEqual ( ip3![ 1 ] , 2 )
656656
657- var ip4 : IndexPath ? = IndexPath ( )
657+ var ip4 : IndexPath ?
658658 IndexPath . _forceBridgeFromObjectiveC ( nsip4, result: & ip4)
659659 XCTAssertNotNil ( ip4)
660660 XCTAssertEqual ( ip4!. count, 3 )
@@ -673,25 +673,25 @@ class TestIndexPath: XCTestCase {
673673 return NSIndexPath ( indexes: buffer. baseAddress, length: buffer. count)
674674 }
675675
676- var ip1 : IndexPath ? = IndexPath ( )
676+ var ip1 : IndexPath ?
677677 XCTAssertTrue ( IndexPath . _conditionallyBridgeFromObjectiveC ( nsip1, result: & ip1) )
678678 XCTAssertNotNil ( ip1)
679679 XCTAssertEqual ( ip1!. count, 0 )
680680
681- var ip2 : IndexPath ? = IndexPath ( )
681+ var ip2 : IndexPath ?
682682 XCTAssertTrue ( IndexPath . _conditionallyBridgeFromObjectiveC ( nsip2, result: & ip2) )
683683 XCTAssertNotNil ( ip2)
684684 XCTAssertEqual ( ip2!. count, 1 )
685685 XCTAssertEqual ( ip2![ 0 ] , 1 )
686686
687- var ip3 : IndexPath ? = IndexPath ( )
687+ var ip3 : IndexPath ?
688688 XCTAssertTrue ( IndexPath . _conditionallyBridgeFromObjectiveC ( nsip3, result: & ip3) )
689689 XCTAssertNotNil ( ip3)
690690 XCTAssertEqual ( ip3!. count, 2 )
691691 XCTAssertEqual ( ip3![ 0 ] , 1 )
692692 XCTAssertEqual ( ip3![ 1 ] , 2 )
693693
694- var ip4 : IndexPath ? = IndexPath ( )
694+ var ip4 : IndexPath ?
695695 XCTAssertTrue ( IndexPath . _conditionallyBridgeFromObjectiveC ( nsip4, result: & ip4) )
696696 XCTAssertNotNil ( ip4)
697697 XCTAssertEqual ( ip4!. count, 3 )
0 commit comments