Skip to content

Commit 88a46fb

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 59f5eec commit 88a46fb

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

Examples/CaseStudies/SwiftUICaseStudiesTests/04-HigherOrderReducers-RecursionTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ final class RecursionTests: XCTestCase {
1616
$0.rows.append(Nested.State(id: UUID(0)))
1717
}
1818

19-
await store.send(\.rows[id: UUID(0)].addRowButtonTapped) {
19+
await store.send(\.rows[id:UUID(0)].addRowButtonTapped) {
2020
$0.rows[id: UUID(0)]?.rows.append(Nested.State(id: UUID(1)))
2121
}
2222
}

Examples/CaseStudies/SwiftUICaseStudiesTests/04-HigherOrderReducers-ReusableFavoritingTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final class ReusableComponentsFavoritingTests: XCTestCase {
3434
)
3535
}
3636

37-
await store.send(\.episodes[id: UUID(0)].favorite.buttonTapped) {
37+
await store.send(\.episodes[id:UUID(0)].favorite.buttonTapped) {
3838
$0.episodes[id: UUID(0)]?.isFavorite = true
3939
}
4040
await clock.advance(by: .seconds(1))
@@ -62,7 +62,7 @@ final class ReusableComponentsFavoritingTests: XCTestCase {
6262
Episodes(favorite: { _, _ in throw FavoriteError() })
6363
}
6464

65-
await store.send(\.episodes[id: UUID(0)].favorite.buttonTapped) {
65+
await store.send(\.episodes[id:UUID(0)].favorite.buttonTapped) {
6666
$0.episodes[id: UUID(0)]?.isFavorite = true
6767
}
6868

@@ -72,7 +72,7 @@ final class ReusableComponentsFavoritingTests: XCTestCase {
7272
}
7373
}
7474

75-
await store.send(\.episodes[id: UUID(0)].favorite.alert.dismiss) {
75+
await store.send(\.episodes[id:UUID(0)].favorite.alert.dismiss) {
7676
$0.episodes[id: UUID(0)]?.alert = nil
7777
$0.episodes[id: UUID(0)]?.isFavorite = false
7878
}

Examples/CaseStudies/UIKitCaseStudiesTests/UIKitCaseStudiesTests.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,24 @@ final class UIKitCaseStudiesTests: XCTestCase {
3131
CounterList()
3232
}
3333

34-
await store.send(\.counters[id: firstState.id].incrementButtonTapped) {
34+
await store.send(\.counters[id:firstState.id].incrementButtonTapped) {
3535
$0.counters[id: firstState.id]?.count = 1
3636
}
37-
await store.send(\.counters[id: firstState.id].decrementButtonTapped) {
37+
await store.send(\.counters[id:firstState.id].decrementButtonTapped) {
3838
$0.counters[id: firstState.id]?.count = 0
3939
}
4040

41-
await store.send(\.counters[id: secondState.id].incrementButtonTapped) {
41+
await store.send(\.counters[id:secondState.id].incrementButtonTapped) {
4242
$0.counters[id: secondState.id]?.count = 1
4343
}
44-
await store.send(\.counters[id: secondState.id].decrementButtonTapped) {
44+
await store.send(\.counters[id:secondState.id].decrementButtonTapped) {
4545
$0.counters[id: secondState.id]?.count = 0
4646
}
4747

48-
await store.send(\.counters[id: thirdState.id].incrementButtonTapped) {
48+
await store.send(\.counters[id:thirdState.id].incrementButtonTapped) {
4949
$0.counters[id: thirdState.id]?.count = 1
5050
}
51-
await store.send(\.counters[id: thirdState.id].decrementButtonTapped) {
51+
await store.send(\.counters[id:thirdState.id].decrementButtonTapped) {
5252
$0.counters[id: thirdState.id]?.count = 0
5353
}
5454
}

Examples/Todos/TodosTests/TodosTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ final class TodosTests: XCTestCase {
117117
$0.continuousClock = self.clock
118118
}
119119

120-
await store.send(\.todos[id: UUID(0)].isComplete, true) {
120+
await store.send(\.todos[id:UUID(0)].isComplete, true) {
121121
$0.todos[id: UUID(0)]?.isComplete = true
122122
}
123123
await self.clock.advance(by: .milliseconds(500))
124-
await store.send(\.todos[id: UUID(0)].isComplete, false) {
124+
await store.send(\.todos[id:UUID(0)].isComplete, false) {
125125
$0.todos[id: UUID(0)]?.isComplete = false
126126
}
127127
await self.clock.advance(by: .seconds(1))
@@ -337,7 +337,7 @@ final class TodosTests: XCTestCase {
337337
await store.send(\.filter, .completed) {
338338
$0.filter = .completed
339339
}
340-
await store.send(\.todos[id: UUID(1)].description, "Did this already") {
340+
await store.send(\.todos[id:UUID(1)].description, "Did this already") {
341341
$0.todos[id: UUID(1)]?.description = "Did this already"
342342
}
343343
}

0 commit comments

Comments
 (0)