提交 bc6a58d7 编写于 作者: M Mattt Thompson

Minor refactoring

上级 4fe55a23
...@@ -34,9 +34,9 @@ class AlamofireManagerTestCase: XCTestCase { ...@@ -34,9 +34,9 @@ class AlamofireManagerTestCase: XCTestCase {
let expectation = expectationWithDescription("\(URL)") let expectation = expectationWithDescription("\(URL)")
let request = manager.request(URLRequest).response { (_,_,_,_) in expectation.fulfill() } manager.request(URLRequest)
.response { (_,_,_,_) in expectation.fulfill() }
request.resume() .resume()
waitForExpectationsWithTimeout(10) { (error) in waitForExpectationsWithTimeout(10) { (error) in
XCTAssertNil(error, "\(error)") XCTAssertNil(error, "\(error)")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册