Fix shareReplay syntax

This commit is contained in:
freak4pc 2018-05-23 19:31:49 +03:00 committed by Krunoslav Zaher
parent 1ce28ba4a6
commit bc5618fbf2

View File

@ -59,10 +59,9 @@ extension AnomaliesTest {
} }
for op in [ for op in [
{ $0.shareReplay(1) }, { $0.share(replay: 1) },
{ $0.replay(1).refCount() }, { $0.replay(1).refCount() },
{ $0.publish().refCount() }, { $0.publish().refCount() }
{ $0.shareReplayLatestWhileConnected() }
] as [(Observable<Int>) -> Observable<Int>] { ] as [(Observable<Int>) -> Observable<Int>] {
performSharingOperatorsTest(share: op) performSharingOperatorsTest(share: op)
} }