@@ -229,11 +229,12 @@ class SignalProducerSpec: QuickSpec {
229229 let resultAction2 : ( ) -> Result < String , AnyError > = { . success( " " ) }
230230 let throwableResultAction : ( ) throws -> Result < String , NoError > = { . success( " " ) }
231231
232- expect ( type ( of: SignalProducer ( action) ) ) == SignalProducer < String , NoError > . self
233- expect ( type ( of: SignalProducer < String , AnyError > ( action) ) ) == SignalProducer < String , AnyError > . self
232+ expect ( type ( of: SignalProducer ( action) ) ) == SignalProducer < String , AnyError > . self
233+ expect ( type ( of: SignalProducer < String , NoError > ( action) ) ) == SignalProducer < String , NoError > . self
234+ expect ( type ( of: SignalProducer < String , TestError > ( action) ) ) == SignalProducer < String , TestError > . self
234235
235- expect ( type ( of: SignalProducer < String , NoError > ( resultAction1) ) ) == SignalProducer < String , NoError > . self
236- expect ( type ( of: SignalProducer < String , AnyError > ( resultAction2) ) ) == SignalProducer < String , AnyError > . self
236+ expect ( type ( of: SignalProducer ( resultAction1) ) ) == SignalProducer < String , NoError > . self
237+ expect ( type ( of: SignalProducer ( resultAction2) ) ) == SignalProducer < String , AnyError > . self
237238
238239 expect ( type ( of: SignalProducer ( throwableAction) ) ) == SignalProducer < String , AnyError > . self
239240 expect ( type ( of: SignalProducer ( throwableResultAction) ) ) == SignalProducer < Result < String , NoError > , AnyError > . self
@@ -366,8 +367,8 @@ class SignalProducerSpec: QuickSpec {
366367 return . success( " OperationValue " )
367368 }
368369
369- SignalProducer < String , NSError > ( operation) . start ( )
370- SignalProducer < String , NSError > ( operation) . start ( )
370+ SignalProducer ( operation) . start ( )
371+ SignalProducer ( operation) . start ( )
371372
372373 expect ( operationRunTimes) == 2
373374 }
@@ -378,7 +379,7 @@ class SignalProducerSpec: QuickSpec {
378379 return . success( operationReturnValue)
379380 }
380381
381- let signalProducer = SignalProducer < String , NSError > ( operation)
382+ let signalProducer = SignalProducer ( operation)
382383
383384 expect ( signalProducer) . to ( sendValue ( operationReturnValue, sendError: nil , complete: true ) )
384385 }
@@ -389,7 +390,7 @@ class SignalProducerSpec: QuickSpec {
389390 return . failure( operationError)
390391 }
391392
392- let signalProducer = SignalProducer < String , NSError > ( operation)
393+ let signalProducer = SignalProducer ( operation)
393394
394395 expect ( signalProducer) . to ( sendValue ( nil , sendError: operationError, complete: false ) )
395396 }
0 commit comments