Browse Source

Minor formatting

Mattt Thompson 11 years ago
parent
commit
8e61a926a8
3 changed files with 3 additions and 3 deletions
  1. 1 1
      Tests/DownloadTests.swift
  2. 1 1
      Tests/RequestTests.swift
  3. 1 1
      Tests/ResponseTests.swift

+ 1 - 1
Tests/DownloadTests.swift

@@ -61,7 +61,7 @@ class AlamofireDownloadResponseTestCase: XCTestCase {
 //                XCTAssertGreaterThan(data.length, 0, "data length should be non-zero")
 //                XCTAssertGreaterThan(data.length, 0, "data length should be non-zero")
         }
         }
 
 
-        waitForExpectationsWithTimeout(10){ error in
+        waitForExpectationsWithTimeout(10) { (error) in
             XCTAssertNil(error, "\(error)")
             XCTAssertNil(error, "\(error)")
         }
         }
     }
     }

+ 1 - 1
Tests/RequestTests.swift

@@ -62,7 +62,7 @@ class AlamofireRequestResponseTestCase: XCTestCase {
                     XCTAssertNil(error, "error should be nil")
                     XCTAssertNil(error, "error should be nil")
                  }
                  }
 
 
-        waitForExpectationsWithTimeout(10){ error in
+        waitForExpectationsWithTimeout(10) { (error) in
             XCTAssertNil(error, "\(error)")
             XCTAssertNil(error, "\(error)")
         }
         }
     }
     }

+ 1 - 1
Tests/ResponseTests.swift

@@ -40,7 +40,7 @@ class AlamofireJSONResponseTestCase: XCTestCase {
                     XCTAssertEqual(JSON!["args"] as NSObject, ["foo": "bar"], "args should be equal")
                     XCTAssertEqual(JSON!["args"] as NSObject, ["foo": "bar"], "args should be equal")
                  }
                  }
 
 
-        waitForExpectationsWithTimeout(10){ error in
+        waitForExpectationsWithTimeout(10) { (error) in
             XCTAssertNil(error, "\(error)")
             XCTAssertNil(error, "\(error)")
         }
         }
     }
     }