File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ class SignalProducerLiftingSpec: QuickSpec {
425
425
426
426
describe ( " scanMap(_:_:) " ) {
427
427
it ( " should update state and output separately " ) {
428
- let ( baseProducer, observer) = SignalProducer < Int , NoError > . pipe ( )
428
+ let ( baseProducer, observer) = SignalProducer < Int , Never > . pipe ( )
429
429
let producer = baseProducer. scanMap ( false ) { state, value -> ( Bool , String ) in
430
430
return ( true , state ? " \( value) " : " initial " )
431
431
}
@@ -449,7 +449,7 @@ class SignalProducerLiftingSpec: QuickSpec {
449
449
450
450
describe ( " scanMap(into:_:) " ) {
451
451
it ( " should update state and output separately " ) {
452
- let ( baseProducer, observer) = SignalProducer < Int , NoError > . pipe ( )
452
+ let ( baseProducer, observer) = SignalProducer < Int , Never > . pipe ( )
453
453
let producer = baseProducer. scanMap ( into: false ) { ( state: inout Bool , value: Int ) -> String in
454
454
defer { state = true }
455
455
return state ? " \( value) " : " initial "
Original file line number Diff line number Diff line change @@ -836,7 +836,7 @@ class SignalSpec: QuickSpec {
836
836
837
837
describe ( " scanMap(_:_:) " ) {
838
838
it ( " should update state and output separately " ) {
839
- let ( baseSignal, observer) = Signal < Int , NoError > . pipe ( )
839
+ let ( baseSignal, observer) = Signal < Int , Never > . pipe ( )
840
840
let signal = baseSignal. scanMap ( false ) { state, value -> ( Bool , String ) in
841
841
return ( true , state ? " \( value) " : " initial " )
842
842
}
@@ -860,7 +860,7 @@ class SignalSpec: QuickSpec {
860
860
861
861
describe ( " scanMap(into:_:) " ) {
862
862
it ( " should update state and output separately " ) {
863
- let ( baseSignal, observer) = Signal < Int , NoError > . pipe ( )
863
+ let ( baseSignal, observer) = Signal < Int , Never > . pipe ( )
864
864
let signal = baseSignal. scanMap ( into: false ) { ( state: inout Bool , value: Int ) -> String in
865
865
defer { state = true }
866
866
return state ? " \( value) " : " initial "
You can’t perform that action at this time.
0 commit comments