@@ -8,7 +8,7 @@ class ScalarTests: XCTestCase {
8
8
// MARK: Test UUID converts to String as expected
9
9
10
10
func testUUIDOutput( ) throws {
11
- struct UUIDOutput : Codable {
11
+ struct UUIDOutput {
12
12
let value : UUID
13
13
}
14
14
@@ -56,7 +56,7 @@ class ScalarTests: XCTestCase {
56
56
}
57
57
58
58
func testUUIDArg( ) throws {
59
- struct UUIDOutput : Codable {
59
+ struct UUIDOutput {
60
60
let value : UUID
61
61
}
62
62
@@ -110,7 +110,7 @@ class ScalarTests: XCTestCase {
110
110
}
111
111
112
112
func testUUIDInput( ) throws {
113
- struct UUIDOutput : Codable {
113
+ struct UUIDOutput {
114
114
let value : UUID
115
115
}
116
116
@@ -173,7 +173,7 @@ class ScalarTests: XCTestCase {
173
173
// MARK: Test Date scalars convert to String using ISO8601 encoders
174
174
175
175
func testDateOutput( ) throws {
176
- struct DateOutput : Codable {
176
+ struct DateOutput {
177
177
let value : Date
178
178
}
179
179
@@ -226,7 +226,7 @@ class ScalarTests: XCTestCase {
226
226
}
227
227
228
228
func testDateArg( ) throws {
229
- struct DateOutput : Codable {
229
+ struct DateOutput {
230
230
let value : Date
231
231
}
232
232
@@ -285,7 +285,7 @@ class ScalarTests: XCTestCase {
285
285
}
286
286
287
287
func testDateInput( ) throws {
288
- struct DateOutput : Codable {
288
+ struct DateOutput {
289
289
let value : Date
290
290
}
291
291
@@ -353,7 +353,7 @@ class ScalarTests: XCTestCase {
353
353
// MARK: Test a scalar that converts to a single-value Map (StringCodedCoordinate -> String)
354
354
355
355
func testStringCoordOutput( ) throws {
356
- struct CoordinateOutput : Codable {
356
+ struct CoordinateOutput {
357
357
let value : StringCodedCoordinate
358
358
}
359
359
@@ -401,7 +401,7 @@ class ScalarTests: XCTestCase {
401
401
}
402
402
403
403
func testStringCoordArg( ) throws {
404
- struct CoordinateOutput : Codable {
404
+ struct CoordinateOutput {
405
405
let value : StringCodedCoordinate
406
406
}
407
407
@@ -455,7 +455,7 @@ class ScalarTests: XCTestCase {
455
455
}
456
456
457
457
func testStringCoordInput( ) throws {
458
- struct CoordinateOutput : Codable {
458
+ struct CoordinateOutput {
459
459
let value : StringCodedCoordinate
460
460
}
461
461
@@ -518,7 +518,7 @@ class ScalarTests: XCTestCase {
518
518
// MARK: Test a scalar that converts to a multi-value Map (Coordinate -> Dict)
519
519
520
520
func testDictCoordOutput( ) throws {
521
- struct CoordinateOutput : Codable {
521
+ struct CoordinateOutput {
522
522
let value : DictCodedCoordinate
523
523
}
524
524
@@ -570,7 +570,7 @@ class ScalarTests: XCTestCase {
570
570
}
571
571
572
572
func testDictCoordArg( ) throws {
573
- struct CoordinateOutput : Codable {
573
+ struct CoordinateOutput {
574
574
let value : DictCodedCoordinate
575
575
}
576
576
@@ -628,7 +628,7 @@ class ScalarTests: XCTestCase {
628
628
}
629
629
630
630
func testDictCoordInput( ) throws {
631
- struct CoordinateOutput : Codable {
631
+ struct CoordinateOutput {
632
632
let value : DictCodedCoordinate
633
633
}
634
634
0 commit comments