Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmikius committed Sep 6, 2024
1 parent 44002f0 commit 80e784a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/ContactStoreTests/TestHelpers/MockContactStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ final class MockContactStore: CNContactStore {
if let contact = request.addedContact {
contacts.append(contact)
} else if let contact = request.updatedContact {
contacts.removeAll(where: { $0.identifier == contact.identifier })
contacts.removeAll { $0.identifier == contact.identifier }
contacts.append(contact)
} else if let contact = request.deletedContact {
contacts.removeAll(where: { $0.identifier == contact.identifier })
contacts.removeAll { $0.identifier == contact.identifier }
}
}

Expand Down

0 comments on commit 80e784a

Please sign in to comment.