Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored and github-actions[bot] committed Nov 4, 2023
1 parent 54b4862 commit 6eb8faa
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ final class OnChangeReducerTests: BaseTCATestCase {
$0.childStates[id: 1]?.counter = 1
}
}

func testOnChangeTuple() async {
struct Feature: Reducer {
struct State: Equatable {
Expand Down Expand Up @@ -174,20 +174,20 @@ final class OnChangeReducerTests: BaseTCATestCase {
}
}
}

let store = TestStore(
initialState: Feature.State()
) { Feature() }

await store.send(.incrementButtonTapped) {
$0.countA = 1
$0.countB = 1
}

await store.receive(.updateSum(2)) {
$0.sum = 2
}

await store.send(.noop)
}
}

0 comments on commit 6eb8faa

Please sign in to comment.