From e37b4e39d8da39a10ea254dcd8dfda9771e0a99b Mon Sep 17 00:00:00 2001 From: Tim Oliver Date: Tue, 27 Jan 2026 14:48:51 +0900 Subject: [PATCH] Gated out test that is unsupported on tvOS --- Tests/IGListSectionControllerTests.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tests/IGListSectionControllerTests.m b/Tests/IGListSectionControllerTests.m index 5cb73530..4b3cd57d 100644 --- a/Tests/IGListSectionControllerTests.m +++ b/Tests/IGListSectionControllerTests.m @@ -56,13 +56,16 @@ XCTAssertNil(sectionController.viewController); } +#if !TARGET_OS_TV - (void)test_whenCallingContextMenuConfiguration_thatDefaultReturnsNil { // The default implementation of contextMenuConfigurationForItemAtIndex:point: returns nil + // Context menus are not available on tvOS IGListSectionController *sectionController = [[IGListSectionController alloc] init]; if (@available(iOS 13.0, *)) { UIContextMenuConfiguration *config = [sectionController contextMenuConfigurationForItemAtIndex:0 point:CGPointZero]; XCTAssertNil(config); } } +#endif @end