From 061d2a0352e6e001148aa77840c258197a76e77e Mon Sep 17 00:00:00 2001 From: cnkwocha Date: Fri, 29 Nov 2024 11:44:11 +0000 Subject: [PATCH] Fix formatting --- .../StructuredFieldDecoderTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/StructuredFieldValuesTests/StructuredFieldDecoderTests.swift b/Tests/StructuredFieldValuesTests/StructuredFieldDecoderTests.swift index 4839534..47a066e 100644 --- a/Tests/StructuredFieldValuesTests/StructuredFieldDecoderTests.swift +++ b/Tests/StructuredFieldValuesTests/StructuredFieldDecoderTests.swift @@ -89,7 +89,7 @@ struct ListyDictionaryField: StructuredFieldValue, Equatable { final class StructuredFieldDecoderTests: XCTestCase { func testSimpleCodableDecode() throws { let headerField = - "primary=bar;q=1.0, secondary=baz;q=0.5;fallback=last, acceptablejurisdictions=(AU;q=1.0 GB;q=0.9 FR);fallback=\"primary\"" + "primary=bar;q=1.0, secondary=baz;q=0.5;fallback=last, acceptablejurisdictions=(AU;q=1.0 GB;q=0.9 FR);fallback=\"primary\"" let parsed = try StructuredFieldValueDecoder().decode(ListyDictionaryField.self, from: Array(headerField.utf8)) let expected = ListyDictionaryField( primary: .init(item: "bar", parameters: .init(q: 1, fallback: nil)), @@ -115,7 +115,7 @@ final class StructuredFieldDecoderTests: XCTestCase { var acceptablejurisdictions: [String] } let headerField = - "primary=bar;q=1.0, secondary=baz;q=0.5;fallback=last, acceptablejurisdictions=(AU;q=1.0 GB;q=0.9 FR);fallback=\"primary\"" + "primary=bar;q=1.0, secondary=baz;q=0.5;fallback=last, acceptablejurisdictions=(AU;q=1.0 GB;q=0.9 FR);fallback=\"primary\"" let parsed = try StructuredFieldValueDecoder().decode( ListyDictionaryNoParams.self, from: Array(headerField.utf8)