Browse Source

Fixed compiler error in tests due to escaping closure change on RequestRetrier.

Christian Noon 9 years ago
parent
commit
76558cf442
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Tests/SessionManagerTests.swift

+ 1 - 1
Tests/SessionManagerTests.swift

@@ -63,7 +63,7 @@ class SessionManagerTestCase: BaseTestCase {
             return urlRequest
         }
 
-        func should(_ manager: SessionManager, retry request: Request, with error: Error, completion: RequestRetryCompletion) {
+        func should(_ manager: SessionManager, retry request: Request, with error: Error, completion: @escaping RequestRetryCompletion) {
             retryCount += 1
 
             if retryCount < 2 {