From 36ea8efd6f55bbdf90755d8acb8abe4e3d1c36ad Mon Sep 17 00:00:00 2001 From: Tim Oliver Date: Tue, 27 Jan 2026 14:15:14 +0900 Subject: [PATCH] Removed other test causing invalid state in surrounding tests --- Tests/IGListCollectionViewLayoutTests.m | 19 ------------------- 1 file changed, 19 deletions(-) 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