diff --git a/Tests/HummingbirdTests/URLEncodedForm/URLEncoderTests.swift b/Tests/HummingbirdTests/URLEncodedForm/URLEncoderTests.swift index b51b2de6..585ecd09 100644 --- a/Tests/HummingbirdTests/URLEncodedForm/URLEncoderTests.swift +++ b/Tests/HummingbirdTests/URLEncodedForm/URLEncoderTests.swift @@ -16,7 +16,12 @@ import Hummingbird import XCTest final class URLEncodedFormEncoderTests: XCTestCase { - static func XCTAssertEncodedEqual(_ lhs: String, _ rhs: String, file: StaticString = #filePath, line: UInt = #line) { + static func XCTAssertEncodedEqual( + _ lhs: String, + _ rhs: String, + file: StaticString = #filePath, + line: UInt = #line + ) { let lhs = lhs.split(separator: "&") .sorted { $0 < $1 } .joined(separator: "&") @@ -26,7 +31,13 @@ final class URLEncodedFormEncoderTests: XCTestCase { XCTAssertEqual(lhs, rhs, file: file, line: line) } - func testForm(_ value: some Encodable, query: String, encoder: URLEncodedFormEncoder = .init(), file: StaticString = #filePath, line: UInt = #line) { + func testForm( + _ value: some Encodable, + query: String, + encoder: URLEncodedFormEncoder = .init(), + file: StaticString = #filePath, + line: UInt = #line + ) { do { let query2 = try encoder.encode(value) Self.XCTAssertEncodedEqual(query2, query, file: file, line: line)