@@ -17,6 +17,9 @@ final class NavigationSplitViewTests: XCTestCase {
17
17
guard #available( iOS 16 , tvOS 16 , macOS 13 , * ) else {
18
18
throw XCTSkip ( )
19
19
}
20
+ guard #unavailable( tvOS 18 ) else {
21
+ throw XCTSkip ( )
22
+ }
20
23
21
24
XCTAssertViewIntrospection ( of: PlatformNavigationSplitView . self) { spies in
22
25
let spy = spies [ 0 ]
@@ -35,7 +38,7 @@ final class NavigationSplitViewTests: XCTestCase {
35
38
#if os(iOS) || os(visionOS)
36
39
. introspect( . navigationSplitView, on: . iOS( . v16, . v17, . v18) , . visionOS( . v1) , customize: spy)
37
40
#elseif os(tvOS)
38
- . introspect( . navigationSplitView, on: . tvOS( . v16, . v17, . v18 ) , customize: spy)
41
+ . introspect( . navigationSplitView, on: . tvOS( . v16, . v17) , customize: spy)
39
42
#elseif os(macOS)
40
43
. introspect( . navigationSplitView, on: . macOS( . v13, . v14) , customize: spy)
41
44
#endif
@@ -46,6 +49,9 @@ final class NavigationSplitViewTests: XCTestCase {
46
49
guard #available( iOS 16 , tvOS 16 , macOS 13 , * ) else {
47
50
throw XCTSkip ( )
48
51
}
52
+ guard #unavailable( tvOS 18 ) else {
53
+ throw XCTSkip ( )
54
+ }
49
55
50
56
XCTAssertViewIntrospection ( of: PlatformNavigationSplitView . self) { spies in
51
57
let spy = spies [ 0 ]
@@ -58,7 +64,7 @@ final class NavigationSplitViewTests: XCTestCase {
58
64
#if os(iOS) || os(visionOS)
59
65
. introspect( . navigationSplitView, on: . iOS( . v16, . v17, . v18) , . visionOS( . v1) , scope: . ancestor, customize: spy)
60
66
#elseif os(tvOS)
61
- . introspect( . navigationSplitView, on: . tvOS( . v16, . v17, . v18 ) , scope: . ancestor, customize: spy)
67
+ . introspect( . navigationSplitView, on: . tvOS( . v16, . v17) , scope: . ancestor, customize: spy)
62
68
#elseif os(macOS)
63
69
. introspect( . navigationSplitView, on: . macOS( . v13, . v14) , scope: . ancestor, customize: spy)
64
70
#endif
0 commit comments