Skip to content

Commit d0dacb2

Browse files
mluisbrownactions-user
authored andcommitted
Run swift-format
1 parent 01241c1 commit d0dacb2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Sources/ComposableArchitecture/Effects/Cancellation.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,15 @@ extension Effect {
4848
cancellationCancellables[id] = nil
4949
}
5050

51-
let disposable = self
51+
let disposable =
52+
self
5253
.on {
5354
guard isCaching else { return }
5455
values.append($0)
5556
}
5657
.start(subject.input)
5758

58-
disposable.add(to: &cancellationCancellables[id, default: CompositeDisposable()])
59+
disposable.add(to: &cancellationCancellables[id, default: CompositeDisposable()])
5960
}
6061

6162
func cleanUp() {

Tests/ComposableArchitectureTests/EffectCancellationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ final class EffectCancellationTests: XCTestCase {
217217
}
218218
.cancellable(id: 1)
219219

220-
for _ in 1 ... 500 {
220+
for _ in 1...500 {
221221
effect = effect.cancellable(id: 1)
222222
}
223223

Tests/ComposableArchitectureTests/StoreTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import XCTest
44
@testable import ComposableArchitecture
55

66
final class StoreTests: XCTestCase {
7-
7+
88
func testScopedStoreReceivesUpdatesFromParent() {
99
let counterReducer = Reducer<Int, Void, Void> { state, _, _ in
1010
state += 1

0 commit comments

Comments
 (0)