Skip to content

Commit 5cd8a70

Browse files
author
Joshua Liebowitz
committed
Updated syntax in spec to remove extra let
1 parent 0893ed0 commit 5cd8a70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/ReactiveSwiftTests/SignalProducerSpec.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -796,9 +796,9 @@ class SignalProducerSpec: QuickSpec {
796796
it("shouldn't overflow on a real scheduler") {
797797
let scheduler = QueueScheduler()
798798
let producer = timer(interval: 3, on: scheduler)
799-
let disposable = producer.start()
800-
801-
disposable.dispose()
799+
producer
800+
.start()
801+
.dispose()
802802
}
803803

804804
it("should release the signal when disposed") {

0 commit comments

Comments
 (0)