Skip to content

Commit 8d727d6

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent a7da60e commit 8d727d6

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

Tests/ComposableArchitectureTests/StorePerceptionTests.swift

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)