Update Tests/NIOSOCKSTests/SOCKSServerHandshakeHandler+Tests.swift

Co-authored-by: Cory Benfield <lukasa@apple.com>
This commit is contained in:
David Evans 2021-06-17 14:44:48 +01:00 committed by GitHub
parent 741eccfc0d
commit 06b37fd2cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -294,7 +294,7 @@ class SOCKSServerHandlerTests: XCTestCase {
self.assertOutputBuffer([0x05, 0x00])
// invalid authentication completion
// we've selection `noneRequired`, so no
// we've selected `noneRequired`, so no
// bytes should be written
XCTAssertThrowsError(try self.channel.writeOutbound(ServerMessage.authenticationData(ByteBuffer(bytes: [0x00]), complete: true)))
}