diff --git a/Tests/IGListCollectionViewLayoutTests.m b/Tests/IGListCollectionViewLayoutTests.m index 6373e1e8..680fbc3c 100644 --- a/Tests/IGListCollectionViewLayoutTests.m +++ b/Tests/IGListCollectionViewLayoutTests.m @@ -1298,23 +1298,4 @@ static const CGRect kTestFrame = (CGRect){{0, 0}, {100, 100}}; atIndexPath:[NSIndexPath indexPathForItem:10 inSection:10]]); } -- (void)test_whenQueryingAttributes_withNilIndexPath_thatReturnsNil { - [self setUpWithStickyHeaders:NO topInset:0]; - - [self prepareWithData:@[ - [[IGLayoutTestSection alloc] initWithInsets:UIEdgeInsetsZero - lineSpacing:0 - interitemSpacing:0 - headerHeight:0 - footerHeight:0 - items:@[ - [[IGLayoutTestItem alloc] initWithSize:CGSizeMake(33, 33)], - ]], - ]]; - - // Assign nil to a variable to bypass the nonnull compile-time check - NSIndexPath *nilIndexPath = nil; - XCTAssertNil([self.layout layoutAttributesForItemAtIndexPath:nilIndexPath]); -} - @end