Skip to content

Commit

Permalink
Run SwiftLint
Browse files Browse the repository at this point in the history
  • Loading branch information
Pietro Caselani committed Dec 31, 2019
1 parent 2ef74ca commit 719bf02
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions CouchTrackerSyncTests/SyncTestableTrakt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ final class SyncTestableTrakt<Target: TraktType>: Trakt {
let fix = endpointClosure as! (T) -> Endpoint

return MoyaProvider<T>(endpointClosure: fix,
requestClosure: provider.requestClosure,
stubClosure: MoyaProvider.immediatelyStub,
plugins: provider.plugins)
requestClosure: provider.requestClosure,
stubClosure: MoyaProvider.immediatelyStub,
plugins: provider.plugins)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ final class SyncWatchedShowsTests: XCTestCase {
}

return SyncTestableTrakt(builder: builder, endpointClosure: { target in
return Endpoint(
url: URL(target: target).absoluteString,
sampleResponseClosure: { sampleResponse },
method: target.method,
task: target.task,
httpHeaderFields: target.headers
Endpoint(
url: URL(target: target).absoluteString,
sampleResponseClosure: { sampleResponse },
method: target.method,
task: target.task,
httpHeaderFields: target.headers
)
})
}
Expand Down

0 comments on commit 719bf02

Please sign in to comment.