@@ -42,21 +42,21 @@ final class StorePerceptionTests: BaseTCATestCase {
4242 Text ( store. count. description)
4343 }
4444 }
45- #if DEBUG && !os(visionOS)
46- let previous = Perception . isPerceptionCheckingEnabled
47- Perception . isPerceptionCheckingEnabled = true
48- defer { Perception . isPerceptionCheckingEnabled = previous }
49- XCTExpectFailure {
50- render ( FeatureView ( ) )
51- } issueMatcher: {
52- $0. compactDescription == """
53- failed - Perceptible state was accessed but is not being tracked. Track changes to state by \
54- wrapping your view in a 'WithPerceptionTracking' view. This must also be done for any \
55- escaping, trailing closures, such as 'GeometryReader', `LazyVStack` (and all lazy \
56- views), navigation APIs ('sheet', 'popover', 'fullScreenCover', etc.), and others.
57- """
58- }
59- #endif
45+ #if DEBUG && !os(visionOS)
46+ let previous = Perception . isPerceptionCheckingEnabled
47+ Perception . isPerceptionCheckingEnabled = true
48+ defer { Perception . isPerceptionCheckingEnabled = previous }
49+ XCTExpectFailure {
50+ render ( FeatureView ( ) )
51+ } issueMatcher: {
52+ $0. compactDescription == """
53+ failed - Perceptible state was accessed but is not being tracked. Track changes to state by \
54+ wrapping your view in a 'WithPerceptionTracking' view. This must also be done for any \
55+ escaping, trailing closures, such as 'GeometryReader', `LazyVStack` (and all lazy \
56+ views), navigation APIs ('sheet', 'popover', 'fullScreenCover', etc.), and others.
57+ """
58+ }
59+ #endif
6060 }
6161
6262 @MainActor
0 commit comments