Skip to content

Commit

Permalink
Fix SwiftLint issues from new rules (#154)
Browse files Browse the repository at this point in the history
Fix issues introduce by latest version of SwiftLint
  • Loading branch information
eneko authored Aug 14, 2020
1 parent 79dde23 commit 2c77175
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/ConduitTests/Auth/OAuth2TokenGrantManagerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ class OAuth2TokenGrantManagerTests: XCTestCase {
}

guard case .noResponse = errorNoResponse,
case .clientFailure(_, _) = error401,
case .clientFailure(_, _) = error400,
case .serverFailure(_, _) = error500 else {
case .clientFailure = error401,
case .clientFailure = error400,
case .serverFailure = error500 else {
XCTFail("Unexpected error type")
return
}
Expand Down

0 comments on commit 2c77175

Please sign in to comment.