@@ -11,7 +11,11 @@ final class TabViewTests: XCTestCase {
1111 typealias PlatformTabView = NSTabView
1212 #endif
1313
14- func testTabView( ) {
14+ func testTabView( ) throws {
15+ if #available( macOS 15 , * ) {
16+ throw XCTSkip ( )
17+ }
18+
1519 XCTAssertViewIntrospection ( of: PlatformTabView . self) { spies in
1620 let spy = spies [ 0 ]
1721
@@ -24,12 +28,16 @@ final class TabViewTests: XCTestCase {
2428 #if os(iOS) || os(tvOS)
2529 . introspect( . tabView, on: . iOS( . v13, . v14, . v15, . v16, . v17, . v18) , . tvOS( . v13, . v14, . v15, . v16, . v17, . v18) , customize: spy)
2630 #elseif os(macOS)
27- . introspect( . tabView, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) , customize: spy)
31+ . introspect( . tabView, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) , customize: spy)
2832 #endif
2933 }
3034 }
3135
32- func testTabViewAsAncestor( ) {
36+ func testTabViewAsAncestor( ) throws {
37+ if #available( macOS 15 , * ) {
38+ throw XCTSkip ( )
39+ }
40+
3341 XCTAssertViewIntrospection ( of: PlatformTabView . self) { spies in
3442 let spy = spies [ 0 ]
3543
@@ -40,7 +48,7 @@ final class TabViewTests: XCTestCase {
4048 #if os(iOS) || os(tvOS)
4149 . introspect( . tabView, on: . iOS( . v13, . v14, . v15, . v16, . v17, . v18) , . tvOS( . v13, . v14, . v15, . v16, . v17, . v18) , scope: . ancestor, customize: spy)
4250 #elseif os(macOS)
43- . introspect( . tabView, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) , scope: . ancestor, customize: spy)
51+ . introspect( . tabView, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) , scope: . ancestor, customize: spy)
4452 #endif
4553 }
4654 }
0 commit comments