diff --git a/Sources/EntwineTest/TestScheduler/TestScheduler.swift b/Sources/EntwineTest/TestScheduler/TestScheduler.swift index 916545b..299f92d 100644 --- a/Sources/EntwineTest/TestScheduler/TestScheduler.swift +++ b/Sources/EntwineTest/TestScheduler/TestScheduler.swift @@ -81,7 +81,7 @@ public class TestScheduler { /// - Returns: A `TestableSubscriber` that contains, or is scheduled to contain, the output of the publisher subscription. public func start(configuration: Configuration = .default, create: @escaping () -> P) -> TestableSubscriber { - var subscriber = createTestableSubscriber(P.Output.self, P.Failure.self, options: configuration.subscriberOptions) + let subscriber = createTestableSubscriber(P.Output.self, P.Failure.self, options: configuration.subscriberOptions) var source: AnyPublisher! schedule(after: configuration.created, tolerance: minimumTolerance, options: nil) {