Skip to content

Commit 2207098

Browse files
committed
Code review
1 parent 8fbeb16 commit 2207098

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: Tests/AsyncHTTPClientTests/HTTPClientTestUtils.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ internal final class HTTPBin<RequestHandler: ChannelInboundHandler> where
364364
try self.syncAddHTTPProxyHandlers(
365365
to: channel,
366366
connectionID: connectionID,
367-
expectedAuthroization: expectedAuthorization
367+
expectedAuthorization: expectedAuthorization
368368
)
369369
return channel.eventLoop.makeSucceededVoidFuture()
370370
}
@@ -392,14 +392,14 @@ internal final class HTTPBin<RequestHandler: ChannelInboundHandler> where
392392
private func syncAddHTTPProxyHandlers(
393393
to channel: Channel,
394394
connectionID: Int,
395-
expectedAuthroization: String?
395+
expectedAuthorization: String?
396396
) throws {
397397
let sync = channel.pipeline.syncOperations
398398
let promise = channel.eventLoop.makePromise(of: Void.self)
399399

400400
let responseEncoder = HTTPResponseEncoder()
401401
let requestDecoder = ByteToMessageHandler(HTTPRequestDecoder(leftOverBytesStrategy: .forwardBytes))
402-
let proxySimulator = HTTPProxySimulator(promise: promise, expectedAuhorization: expectedAuthroization)
402+
let proxySimulator = HTTPProxySimulator(promise: promise, expectedAuhorization: expectedAuthorization)
403403

404404
try sync.addHandler(responseEncoder)
405405
try sync.addHandler(requestDecoder)

0 commit comments

Comments
 (0)