             .then({ (i) throws -> Void in
                 throw NSError(domain: "test.SomeError", code: 123, userInfo: nil)
             })
-            .then(nil, { (e:NSError) in
+            .then(nil, { (e: NSError) in
                 XCTAssertEqual(e.domain, "test.SomeError")
                 XCTAssertEqual(e.code, 123)
                 expectation.fulfill()

            .then({ (i) throws -> Void in
                throw SomeError.IntError(i)
            })
            .then(nil, { (e:NSError) in
                XCTAssertEqual(e.domain, "OnePromise_Tests.OnePromiseTests.SomeError")
                expectation.fulfill()
            })

            .then({ (i) throws -> Promise<Int> in
                throw NSError(domain: "test.SomeError", code: 123, userInfo: nil)
            })
            .then(nil, { (e: NSError) in
                XCTAssertEqual(e.domain, "test.SomeError")
                XCTAssertEqual(e.code, 123)
                expectation.fulfill()
