Skip to content

Commit 2537444

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 1a0c3f9 commit 2537444

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

Tests/ComposableArchitectureTests/EffectRunTests.swift

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ final class EffectRunTests: BaseTCATestCase {
4848
var line: UInt!
4949
XCTExpectFailure(nil, enabled: nil, strict: nil) {
5050
$0.compactDescription == """
51-
An "EffectTask.run" returned from "\(#fileID):\(line+1)" threw an unhandled error. …
51+
An "EffectTask.run" returned from "\(#fileID):\(line+1)" threw an unhandled error. …
5252
53-
EffectRunTests.Failure()
53+
EffectRunTests.Failure()
5454
55-
All non-cancellation errors must be explicitly handled via the "catch" parameter on \
56-
"EffectTask.run", or via a "do" block.
57-
"""
55+
All non-cancellation errors must be explicitly handled via the "catch" parameter on \
56+
"EffectTask.run", or via a "do" block.
57+
"""
5858
}
5959
struct State: Equatable {}
6060
enum Action: Equatable { case tapped, response }
@@ -126,20 +126,20 @@ final class EffectRunTests: BaseTCATestCase {
126126
try await withMainSerialExecutor {
127127
XCTExpectFailure {
128128
$0.compactDescription == """
129-
An action was sent from a completed effect:
129+
An action was sent from a completed effect:
130130
131-
Action:
132-
EffectRunTests.Action.response
131+
Action:
132+
EffectRunTests.Action.response
133133
134-
Effect returned from:
135-
EffectRunTests.Action.tap
134+
Effect returned from:
135+
EffectRunTests.Action.tap
136136
137-
Avoid sending actions using the 'send' argument from 'EffectTask.run' after the effect has \
138-
completed. This can happen if you escape the 'send' argument in an unstructured context.
137+
Avoid sending actions using the 'send' argument from 'EffectTask.run' after the effect has \
138+
completed. This can happen if you escape the 'send' argument in an unstructured context.
139139
140-
To fix this, make sure that your 'run' closure does not return until you're done calling \
141-
'send'.
142-
"""
140+
To fix this, make sure that your 'run' closure does not return until you're done calling \
141+
'send'.
142+
"""
143143
}
144144

145145
enum Action { case tap, response }

0 commit comments

Comments
 (0)