Skip to content

Commit 727a936

Browse files
committed
fix formatting
1 parent 1b0d235 commit 727a936

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

connection_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func (c *chunkedConn) Read(b []byte) (int, error) {
229229
return n, nil
230230
}
231231

232-
func (c *chunkedConn) Write(b []byte) (int, error) { return len(b), nil } // swallow writes (e.g. COM_QUERY)
232+
func (c *chunkedConn) Write(b []byte) (int, error) { return len(b), nil } // swallow writes (e.g. COM_QUERY)
233233
func (c *chunkedConn) Close() error { return nil }
234234
func (c *chunkedConn) LocalAddr() net.Addr { return nil }
235235
func (c *chunkedConn) RemoteAddr() net.Addr { return nil }
@@ -272,15 +272,15 @@ func TestGetSystemVarBufferReuse(t *testing.T) {
272272

273273
colDef := []byte{
274274
0x03, 'd', 'e', 'f', // catalog = "def"
275-
0x00, // schema = ""
276-
0x00, // table = ""
277-
0x00, // org_table = ""
278-
0x14, // name length = 20
275+
0x00, // schema = ""
276+
0x00, // table = ""
277+
0x00, // org_table = ""
278+
0x14, // name length = 20
279279
'@', '@', 'm', 'a', 'x', '_', 'a', 'l', 'l', 'o',
280280
'w', 'e', 'd', '_', 'p', 'a', 'c', 'k', 'e', 't',
281-
0x00, // org_name = ""
282-
0x0c, // length of fixed fields
283-
0x3f, 0x00, // charset = 63 (binary)
281+
0x00, // org_name = ""
282+
0x0c, // length of fixed fields
283+
0x3f, 0x00, // charset = 63 (binary)
284284
0x14, 0x00, 0x00, 0x00, // column_length = 20
285285
0x0f, // type = FIELD_TYPE_VARCHAR
286286
0x00, 0x00, // flags

0 commit comments

Comments
 (0)