@@ -11,7 +11,7 @@ struct SearchFieldTests {
1111 #endif
1212
1313 @available ( iOS 15 , tvOS 15 , * )
14- @Test ( . disabledOn_iOS26_exceptFor_iPad ( ) )
14+ @Test ( . `disabled on iOS 26 + except for iPad` ())
1515 func introspectInNavigationStack( ) async throws {
1616 try await introspection ( of: PlatformSearchField . self) { spy in
1717 NavigationView {
@@ -42,7 +42,7 @@ struct SearchFieldTests {
4242 }
4343
4444 @available( iOS 15 , tvOS 15 , * )
45- @Test ( . disabledOn_iOS26_exceptFor_iPad ( ) )
45+ @Test ( . `disabled on iOS 26 + except for iPad` ())
4646 func introspectInNavigationStackAsAncestor( ) async throws {
4747 try await introspection ( of: PlatformSearchField . self) { spy in
4848 NavigationView {
@@ -73,7 +73,7 @@ struct SearchFieldTests {
7373 }
7474
7575 @available( iOS 15 , tvOS 15 , * )
76- @Test ( . disabledOn_iOS26_exceptFor_iPad ( ) )
76+ @Test ( . `disabled on iOS 26 + except for iPad` ())
7777 func introspectInNavigationSplitView( ) async throws {
7878 try await introspection ( of: PlatformSearchField . self) { spy in
7979 NavigationView {
@@ -116,7 +116,7 @@ struct SearchFieldTests {
116116 }
117117
118118 @available( iOS 15 , tvOS 15 , * )
119- @Test ( . disabledOn_iOS26_exceptFor_iPad ( ) )
119+ @Test ( . `disabled on iOS 26 + except for iPad` ())
120120 func introspectInNavigationSplitViewAsAncestor( ) async throws {
121121 try await introspection ( of: PlatformSearchField . self) { spy in
122122 NavigationView {
@@ -161,8 +161,7 @@ struct SearchFieldTests {
161161
162162@MainActor
163163extension Trait where Self == ConditionTrait {
164- // TODO: rename to `disabled on iOS 26+ except for iPad` when Swift 6.2 becomes available (on Xcode 26)
165- static func disabledOn_iOS26_exceptFor_iPad( sourceLocation: SourceLocation = #_sourceLocation) -> Self {
164+ static func `disabled on iOS 26 + except for iPad`(sourceLocation: SourceLocation = #_sourceLocation) -> Self {
166165 let disabled = if #available( iOS 26 , * ) {
167166 UIDevice . current. userInterfaceIdiom != . pad
168167 } else {
0 commit comments