fix(macos): clean swiftformat pass and sendable warning

This commit is contained in:
Peter Steinberger
2026-03-08 13:22:46 +00:00
parent eb0758e172
commit 53fb317e7f
129 changed files with 505 additions and 512 deletions

View File

@@ -3,8 +3,8 @@ import OpenClawProtocol
import Testing
@testable import OpenClaw
@Suite struct AnyCodableEncodingTests {
@Test func encodesSwiftArrayAndDictionaryValues() throws {
struct AnyCodableEncodingTests {
@Test func `encodes swift array and dictionary values`() throws {
let payload: [String: Any] = [
"tags": ["node", "ios"],
"meta": ["count": 2],
@@ -19,7 +19,7 @@ import Testing
#expect(obj["null"] is NSNull)
}
@Test func protocolAnyCodableEncodesPrimitiveArrays() throws {
@Test func `protocol any codable encodes primitive arrays`() throws {
let payload: [String: Any] = [
"items": [1, "two", NSNull(), ["ok": true]],
]