style(swift): fix lint and formatting warnings

This commit is contained in:
Peter Steinberger
2025-12-14 03:48:07 +00:00
parent 3a08e6df9d
commit dde9fddae4
8 changed files with 43 additions and 25 deletions

View File

@@ -32,7 +32,8 @@ import Testing
}
@Test func parseAgentLinkParsesCommonFields() {
let url = URL(string: "clawdis://agent?message=Hello&deliver=1&sessionKey=node-iris&thinking=low&timeoutSeconds=30")!
let url =
URL(string: "clawdis://agent?message=Hello&deliver=1&sessionKey=node-iris&thinking=low&timeoutSeconds=30")!
#expect(
DeepLinkParser.parse(url) == .agent(
.init(
@@ -47,7 +48,9 @@ import Testing
}
@Test func parseAgentLinkParsesTargetRoutingFields() {
let url = URL(string: "clawdis://agent?message=Hello%20World&deliver=1&to=%2B15551234567&channel=whatsapp&key=secret")!
let url =
URL(
string: "clawdis://agent?message=Hello%20World&deliver=1&to=%2B15551234567&channel=whatsapp&key=secret")!
#expect(
DeepLinkParser.parse(url) == .agent(
.init(