@@ -35,7 +35,7 @@ class HTTP1ConnectionTests: XCTestCase {
35
35
channel: embedded,
36
36
connectionID: 0 ,
37
37
delegate: MockHTTP1ConnectionDelegate ( ) ,
38
- configuration : . init ( decompression: . enabled( limit: . ratio( 4 ) ) ) ,
38
+ decompression: . enabled( limit: . ratio( 4 ) ) ,
39
39
logger: logger
40
40
) )
41
41
@@ -58,7 +58,7 @@ class HTTP1ConnectionTests: XCTestCase {
58
58
channel: embedded,
59
59
connectionID: 0 ,
60
60
delegate: MockHTTP1ConnectionDelegate ( ) ,
61
- configuration : . init ( decompression: . disabled) ,
61
+ decompression: . disabled,
62
62
logger: logger
63
63
) )
64
64
@@ -82,7 +82,7 @@ class HTTP1ConnectionTests: XCTestCase {
82
82
channel: embedded,
83
83
connectionID: 0 ,
84
84
delegate: MockHTTP1ConnectionDelegate ( ) ,
85
- configuration : . init ( ) ,
85
+ decompression : . disabled ,
86
86
logger: logger
87
87
) )
88
88
}
@@ -106,7 +106,7 @@ class HTTP1ConnectionTests: XCTestCase {
106
106
channel: $0,
107
107
connectionID: 0 ,
108
108
delegate: delegate,
109
- configuration : . init ( decompression: . disabled) ,
109
+ decompression: . disabled,
110
110
logger: logger
111
111
)
112
112
}
@@ -206,7 +206,7 @@ class HTTP1ConnectionTests: XCTestCase {
206
206
channel: XCTUnwrap ( maybeChannel) ,
207
207
connectionID: 0 ,
208
208
delegate: connectionDelegate,
209
- configuration : . init ( ) ,
209
+ decompression : . disabled ,
210
210
logger: logger
211
211
) } . wait ( ) )
212
212
guard let connection = maybeConnection else { return XCTFail ( " Expected to have a connection here " ) }
@@ -260,7 +260,7 @@ class HTTP1ConnectionTests: XCTestCase {
260
260
channel: XCTUnwrap ( maybeChannel) ,
261
261
connectionID: 0 ,
262
262
delegate: connectionDelegate,
263
- configuration : . init ( ) ,
263
+ decompression : . disabled ,
264
264
logger: logger
265
265
) } . wait ( ) )
266
266
guard let connection = maybeConnection else { return XCTFail ( " Expected to have a connection here " ) }
@@ -332,7 +332,7 @@ class HTTP1ConnectionTests: XCTestCase {
332
332
channel: XCTUnwrap ( maybeChannel) ,
333
333
connectionID: 0 ,
334
334
delegate: connectionDelegate,
335
- configuration : . init ( ) ,
335
+ decompression : . disabled ,
336
336
logger: logger
337
337
) } . wait ( ) )
338
338
guard let connection = maybeConnection else { return XCTFail ( " Expected to have a connection here " ) }
@@ -377,7 +377,7 @@ class HTTP1ConnectionTests: XCTestCase {
377
377
channel: embedded,
378
378
connectionID: 0 ,
379
379
delegate: connectionDelegate,
380
- configuration : . init ( decompression: . enabled( limit: . ratio( 4 ) ) ) ,
380
+ decompression: . enabled( limit: . ratio( 4 ) ) ,
381
381
logger: logger
382
382
) )
383
383
guard let connection = maybeConnection else { return XCTFail ( " Expected to have a connection at this point. " ) }
@@ -442,7 +442,7 @@ class HTTP1ConnectionTests: XCTestCase {
442
442
channel: embedded,
443
443
connectionID: 0 ,
444
444
delegate: connectionDelegate,
445
- configuration : . init ( decompression: . enabled( limit: . ratio( 4 ) ) ) ,
445
+ decompression: . enabled( limit: . ratio( 4 ) ) ,
446
446
logger: logger
447
447
) )
448
448
guard let connection = maybeConnection else { return XCTFail ( " Expected to have a connection at this point. " ) }
@@ -504,7 +504,7 @@ class HTTP1ConnectionTests: XCTestCase {
504
504
channel: embedded,
505
505
connectionID: 0 ,
506
506
delegate: connectionDelegate,
507
- configuration : . init ( decompression: . enabled( limit: . ratio( 4 ) ) ) ,
507
+ decompression: . enabled( limit: . ratio( 4 ) ) ,
508
508
logger: logger
509
509
) )
510
510
@@ -539,7 +539,7 @@ class HTTP1ConnectionTests: XCTestCase {
539
539
channel: embedded,
540
540
connectionID: 0 ,
541
541
delegate: connectionDelegate,
542
- configuration : . init ( decompression: . enabled( limit: . ratio( 4 ) ) ) ,
542
+ decompression: . enabled( limit: . ratio( 4 ) ) ,
543
543
logger: logger
544
544
) )
545
545
guard let connection = maybeConnection else { return XCTFail ( " Expected to have a connection at this point. " ) }
@@ -691,7 +691,7 @@ class HTTP1ConnectionTests: XCTestCase {
691
691
channel: channel,
692
692
connectionID: 0 ,
693
693
delegate: connectionDelegate,
694
- configuration : . init ( ) ,
694
+ decompression : . disabled ,
695
695
logger: logger
696
696
) } . wait ( ) )
697
697
guard let connection = maybeConnection else { return XCTFail ( " Expected to have a connection at this point " ) }
0 commit comments