Skip to content

Commit 34463e0

Browse files
committed
Fix deprecation message.
1 parent cc8f661 commit 34463e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComposableArchitecture/Internal/Deprecations.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ extension Store {
121121
extension TestStore {
122122
@available(
123123
*, deprecated,
124-
message: "Test the reducer domain directly. To test view state and actions, write a unit test."
124+
message: "Pass a closure as the reducer."
125125
)
126126
public convenience init<R: ReducerProtocol>(
127127
initialState: @autoclosure () -> State,

0 commit comments

Comments
 (0)