Skip to content

Commit 0a39f4c

Browse files
mbrandonwactions-user
authored andcommitted
Run swift-format
1 parent 1c0dfbc commit 0a39f4c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Sources/ComposableArchitecture/Store.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public final class Store<State, Action> {
136136
private let reducer: (inout State, Action) -> Effect<Action, Never>
137137
var state: CurrentValueSubject<State, Never>
138138
#if DEBUG
139-
private let mainQueueChecksEnabled: Bool
139+
private let mainQueueChecksEnabled: Bool
140140
#endif
141141

142142
/// Initializes a store from an initial state, a reducer, and an environment.
@@ -453,7 +453,7 @@ public final class Store<State, Action> {
453453
thread, or create this store via "Store.unchecked" to disable the main thread checker.
454454
"""
455455
}
456-
456+
457457
breakpoint(
458458
"""
459459
---
@@ -483,7 +483,7 @@ public final class Store<State, Action> {
483483
self.reducer = { state, action in reducer.run(&state, action, environment) }
484484

485485
#if DEBUG
486-
self.mainQueueChecksEnabled = mainQueueChecksEnabled
486+
self.mainQueueChecksEnabled = mainQueueChecksEnabled
487487
#endif
488488
}
489489
}

Tests/ComposableArchitectureTests/StoreTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,10 +447,10 @@ final class StoreTests: XCTestCase {
447447
.child(2),
448448
])
449449
}
450-
450+
451451
func testNonMainQueueStore() {
452452
var expectations: [XCTestExpectation] = []
453-
for i in 1 ... 100 {
453+
for i in 1...100 {
454454
let expectation = XCTestExpectation(description: "\(i)th iteration is complete")
455455
expectations.append(expectation)
456456
DispatchQueue.global().async {

0 commit comments

Comments
 (0)