Skip to content

Commit

Permalink
One last lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
gazreese committed May 2, 2024
1 parent 2e83ab3 commit f7d861b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FlagsmithClient/Tests/APIManagerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ final class APIManagerTests: FlagsmithClientTestCase {
let requestFinished = expectation(description: "Request Finished")

apiManager.request(.getFlags) { (result: Result<Void, any Error>) in
if case let .failure(e) = result {
let error = e as? FlagsmithError
if case let .failure(err) = result {
let error = err as? FlagsmithError
let flagsmithError: FlagsmithError? = try? XCTUnwrap(error)
guard let flagsmithError = flagsmithError, case .apiURL = flagsmithError else {
XCTFail("Wrong Error")
Expand Down

0 comments on commit f7d861b

Please sign in to comment.