Skip to content

Commit 96e8167

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent f54c4f7 commit 96e8167

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Sources/URLRouting/URLRequestData.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,11 @@ extension URLRequestData: Codable {
153153
host: try container.decodeIfPresent(String.self, forKey: .host),
154154
port: try container.decodeIfPresent(Int.self, forKey: .port),
155155
path: try container.decodeIfPresent(String.self, forKey: .path) ?? "",
156-
query: try container.decodeIfPresent(OrderedDictionary<String, [String?]>.self, forKey: .query) ?? [:],
156+
query: try container.decodeIfPresent(
157+
OrderedDictionary<String, [String?]>.self, forKey: .query) ?? [:],
157158
fragment: try container.decodeIfPresent(String.self, forKey: .fragment),
158-
headers: try container.decodeIfPresent(OrderedDictionary<String, [String?]>.self, forKey: .headers) ?? [:],
159+
headers: try container.decodeIfPresent(
160+
OrderedDictionary<String, [String?]>.self, forKey: .headers) ?? [:],
159161
body: try container.decodeIfPresent(Data.self, forKey: .body)
160162
)
161163
}

Tests/URLRoutingTests/URLRoutingTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class URLRoutingTests: XCTestCase {
7979
XCTAssertEqual("Blob", name)
8080
XCTAssertEqual(42, age)
8181
XCTAssertEqual(["debug": ["1"]], request.query)
82-
82+
8383
XCTAssertEqual(
8484
try p.print(("Blob", 42)),
8585
URLRequestData(query: ["name": ["Blob"], "age": ["42"]])

0 commit comments

Comments
 (0)