This repository was archived by the owner on Jan 17, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -170,16 +170,16 @@ - (void)testIndexPaths
170170 parent.children = @[childA, childB];
171171 childB.children = @[grandchild];
172172
173- XCTAssertEqual (parent.indexPath , [NSIndexPath indexPathWithIndex: 0 ]);
173+ XCTAssertEqualObjects (parent.indexPath , [NSIndexPath indexPathWithIndex: 0 ]);
174174
175175 NSUInteger childAIndexPathArray[] = {0 ,0 };
176- XCTAssertEqual (childA.indexPath , [NSIndexPath indexPathWithIndexes: childAIndexPathArray length: 2 ]);
176+ XCTAssertEqualObjects (childA.indexPath , [NSIndexPath indexPathWithIndexes: childAIndexPathArray length: 2 ]);
177177
178178 NSUInteger childBIndexPathArray[] = {0 ,1 };
179- XCTAssertEqual (childB.indexPath , [NSIndexPath indexPathWithIndexes: childBIndexPathArray length: 2 ]);
179+ XCTAssertEqualObjects (childB.indexPath , [NSIndexPath indexPathWithIndexes: childBIndexPathArray length: 2 ]);
180180
181181 NSUInteger grandchildIndexPathArray[] = {0 ,1 ,0 };
182- XCTAssertEqual (grandchild.indexPath , [NSIndexPath indexPathWithIndexes: grandchildIndexPathArray length: 3 ]);
182+ XCTAssertEqualObjects (grandchild.indexPath , [NSIndexPath indexPathWithIndexes: grandchildIndexPathArray length: 3 ]);
183183}
184184
185185- (void )testPropertiesThatDoNotAffectEquality
You can’t perform that action at this time.
0 commit comments