From 80e784a32da77b3886cd195dffc124876d78fe07 Mon Sep 17 00:00:00 2001 From: Mykhailo Bondarenko Date: Fri, 6 Sep 2024 13:36:43 +0300 Subject: [PATCH] style: fix lint --- Tests/ContactStoreTests/TestHelpers/MockContactStore.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/ContactStoreTests/TestHelpers/MockContactStore.swift b/Tests/ContactStoreTests/TestHelpers/MockContactStore.swift index d109230..7c7f6ad 100644 --- a/Tests/ContactStoreTests/TestHelpers/MockContactStore.swift +++ b/Tests/ContactStoreTests/TestHelpers/MockContactStore.swift @@ -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 } } }