@@ -48,13 +48,13 @@ final class EffectRunTests: BaseTCATestCase {
48
48
var line : UInt !
49
49
XCTExpectFailure ( nil , enabled: nil , strict: nil ) {
50
50
$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. …
52
52
53
- EffectRunTests.Failure()
53
+ EffectRunTests.Failure()
54
54
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
+ """
58
58
}
59
59
struct State : Equatable { }
60
60
enum Action : Equatable { case tapped, response }
@@ -126,20 +126,20 @@ final class EffectRunTests: BaseTCATestCase {
126
126
try await withMainSerialExecutor {
127
127
XCTExpectFailure {
128
128
$0. compactDescription == """
129
- An action was sent from a completed effect:
129
+ An action was sent from a completed effect:
130
130
131
- Action:
132
- EffectRunTests.Action.response
131
+ Action:
132
+ EffectRunTests.Action.response
133
133
134
- Effect returned from:
135
- EffectRunTests.Action.tap
134
+ Effect returned from:
135
+ EffectRunTests.Action.tap
136
136
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.
139
139
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
+ """
143
143
}
144
144
145
145
enum Action { case tap, response }
0 commit comments