提交 1416fa07 编写于 作者: M Mattt Thompson

Minor reformatting

上级 f7401a08
......@@ -32,12 +32,11 @@ class UploadResponseTestCase: XCTestCase {
let expectation = expectationWithDescription(URL)
Alamofire.upload(.POST, URL, data!)
.responseJSON { (request, response, JSON, error) in
.response { (request, response, _, error) in
expectation.fulfill()
XCTAssertNotNil(request, "request should not be nil")
XCTAssertNotNil(response, "response should not be nil")
XCTAssertNil(error, "error should be nil")
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册