We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e828aeb commit 2a4b853Copy full SHA for 2a4b853
Tests/ComposableArchitectureTests/EffectCancellationTests.swift
@@ -302,7 +302,7 @@ final class EffectCancellationTests: XCTestCase {
302
303
XCTAssertEqual(output, [1, 2])
304
}
305
-
+
306
func testMultipleCancellations() {
307
let scheduler = DispatchQueue.test
308
var values: [Int] = []
@@ -326,8 +326,8 @@ final class EffectCancellationTests: XCTestCase {
326
.cancel(ids: CancellationId(id: 1), CancellationId(id: 2)),
327
.cancel(ids: [CancellationId(id: 4), CancellationId(id: 5)][...])
328
)
329
- .sink { _ in }
330
- .store(in: &self.cancellables)
+ .sink { _ in }
+ .store(in: &self.cancellables)
331
332
scheduler.advance(by: 1)
333
XCTAssertEqual(values, [3])
0 commit comments