           expect(abortSpy.called).to.be.true
           done()
 
-      it 'should throw a custom error when the promise is cancelled with a reason', (done) ->
+      it 'should throw a custom error when the promise is
+          cancelled with a reason', (done) ->
         errorSpy = sinon.spy()
 
         request.get("localhost:3000/good")

          expect(abortSpy.called).to.be.true
          done()

      it 'should throw a bluebird CancellationError when the promise is cancelled without a reason', (done) ->
        errorSpy = sinon.spy()

        request.get("localhost:3000/good")

          .cancel new CustomCancellationError

        setImmediate ->
          expect(errorSpy.calledWith(
            sinon.match.instanceOf(CustomCancellationError)
          )).to.be.true
          done()
