 					sendB()
 					expect(recv).to(equal([0, 1, 100, 2, 101]))
 				}
-				
+
 				it("should complete when all signals have completed") {
 					completeA()
 					expect(outerCompleted).to(beFalsy())

				let outerProducer = SignalProducer<SignalProducer<Int, TestError>, TestError>(value: errorProducer)

				var error: TestError?
				concat(outerProducer).start(error: { e in
					error = e
				})
				expect(error).to(equal(TestError.Default))
			}


					completed: {
						completed = true
				})

				sendNext(firstInnerSink, 1)
				sendNext(secondInnerSink, 2)
				sendNext(outerSink, SignalProducer(value: 0))
				sendNext(outerSink, firstInner)
				sendNext(outerSink, secondInner)
				sendCompleted(outerSink)

				expect(receivedValues).to(equal([ 0, 1, 2 ]))
				expect(errored).to(beFalsy())
				expect(completed).to(beFalsy())

				sendNext(firstInnerSink, 3)
				sendCompleted(firstInnerSink)
				sendNext(secondInnerSink, 4)
				sendCompleted(secondInnerSink)

				expect(receivedValues).to(equal([ 0, 1, 2, 4 ]))
				expect(errored).to(beFalsy())
				expect(completed).to(beTruthy())
