         deferred.progress(0.0)
         deferred.progress(0.5)
         deferred.progress(1.0)
-
-        waitForExpectationsWithTimeout(7, handler: nil)
-    }
-
+        
+        waitForExpectationsWithTimeout(7, handler: nil)
+    }
+    
     func test_progress_fraction() {
         let answers: [Float] = [0.0, 0.35, 0.7, 0.73, 0.85, 1.0]
         var map: [Float: XCTestExpectation] = [:]

        )
        
        XCTAssertEqual(promise.value!, [STRING_VALUE_0, STRING_VALUE_1, STRING_VALUE_2])

        waitForExpectationsWithTimeout(7) { println($0) }
    }

    func test_all_reject_aync() {
        
        let expectation = expectationWithDescription(__FUNCTION__)

        
        waitForExpectationsWithTimeout(7, handler: nil)
    }
    
    /*
    If cancel a promise which's result depends on another promise returned in then closures, the depended promise is canceled too
    */
    func test_cancel_leaf() {
        var expts: [Int: XCTestExpectation] = expectationsFor(keys: [Int](0..<2), descPrefix: __FUNCTION__)
        
