Skip to content

Commit 73b8d4a

Browse files
committed
Remove unnecessary variable in unit tests
1 parent 6b5c60b commit 73b8d4a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Tests/Action/ActionTests.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,8 @@ class ActionTests: QuickSpec {
293293
}
294294

295295
it("is externally disabled while executing") {
296-
var observer: AnyObserver<Void>!
297296
let subject = Action<Void, Void>(workFactory: { _ in
298297
return Observable.create { (obsv) -> Disposable in
299-
observer = obsv
300298
return Disposables.create()
301299
}
302300
})

0 commit comments

Comments
 (0)