Add SwiftFormat wraparguments (#579)

Matches the wrapparameters rule, seems it was missed.
This commit is contained in:
Doug
2023-02-15 08:53:10 +00:00
committed by GitHub
parent 96363b117d
commit afc660a1ea
6 changed files with 40 additions and 55 deletions
@@ -22,11 +22,9 @@ extension UNNotification {
static func with(userInfo: [AnyHashable: Any], actionIdentifier: String = UNNotificationDefaultActionIdentifier) throws -> UNNotification {
let content = UNMutableNotificationContent()
content.userInfo = userInfo
let request = UNNotificationRequest(
identifier: "",
content: content,
trigger: nil
)
let request = UNNotificationRequest(identifier: "",
content: content,
trigger: nil)
let archiver = MockCoder(requiringSecureCoding: false)
let notification = try XCTUnwrap(UNNotification(coder: archiver))
notification.setValue(request, forKey: "request")