Skip to content

Commit

Permalink
Fix swiftlint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
crazytonyli committed Feb 26, 2024
1 parent a8ef60f commit d3c9d58
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ReaderPostServiceRemoteFetchEndpointTests: XCTestCase {
algorithm: "none",
count: 1,
before: Date(),
success: { _,_ in complete.fulfill() },
success: { _, _ in complete.fulfill() },
failure: { _ in complete.fulfill() }
)
wait(for: [complete], timeout: 0.3)
Expand Down
1 change: 0 additions & 1 deletion WordPressKitTests/WordPressAPI/WordPressOrgAPITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ class WordPressOrgAPITests: XCTestCase {

await fulfillment(of: [unauthenticatedReuqest, ajaxNonceRequest, authenticatedReuqest], timeout: 0.1, enforceOrder: true)


// Remove added stubs and add a new one.
let requestsHasNonce = expectation(description: "Call an endpoint with an authenticated request")
requestsHasNonce.expectedFulfillmentCount = 3
Expand Down

0 comments on commit d3c9d58

Please sign in to comment.