fix(all): various typos (#10242)
This commit is contained in:
@@ -933,7 +933,7 @@ func (c *rawConnection) shouldCompressMessage(msg proto.Message) bool {
|
||||
}
|
||||
}
|
||||
|
||||
// Close is called when the connection is regularely closed and thus the Close
|
||||
// Close is called when the connection is regularly closed and thus the Close
|
||||
// BEP message is sent before terminating the actual connection. The error
|
||||
// argument specifies the reason for closing the connection.
|
||||
func (c *rawConnection) Close(err error) {
|
||||
|
||||
@@ -289,7 +289,7 @@ func TestWriteCompressed(t *testing.T) {
|
||||
|
||||
msg := (&Response{Data: make([]byte, 10240)}).toWire()
|
||||
if random {
|
||||
// This should make the message uncompressible.
|
||||
// This should make the message incompressible.
|
||||
rand.Read(msg.Data)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user