Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Tests/ComposableArchitectureTests/StoreTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ final class StoreTests: BaseTCATestCase {
state.child = .init(count: nil)
return .none

case .child(let childCount):
case let .child(childCount):
state.count = childCount
return .none
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/ComposableArchitectureTests/TestStoreTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ final class TestStoreTests: BaseTCATestCase {
case .increment:
state.isChanging = true
return .send(.changed(from: state.count, to: state.count + 1))
case .changed(let from, let to):
case let .changed(from, to):
state.isChanging = false
if state.count == from {
state.count = to
Expand Down