Fumpt files to make golangci-lint happy

This commit is contained in:
Winni Neessen 2024-10-05 11:43:50 +02:00
parent a0a7f74121
commit 476130d6e3
Signed by: wneessen
GPG key ID: 385AC9889632126E
2 changed files with 1 additions and 1 deletions

View file

@ -593,7 +593,6 @@ func (c *Client) GetTLSConnectionState() (*tls.ConnectionState, error) {
if !c.isConnected { if !c.isConnected {
return nil, ErrNoConnection return nil, ErrNoConnection
} }
if !c.tls { if !c.tls {
return nil, ErrNonTLSConnection return nil, ErrNonTLSConnection

View file

@ -1811,6 +1811,7 @@ func TestClient_GetTLSConnectionState_unableErr(t *testing.T) {
<-clientDone <-clientDone
<-serverDone <-serverDone
} }
func TestClient_HasConnection(t *testing.T) { func TestClient_HasConnection(t *testing.T) {
ln := newLocalListener(t) ln := newLocalListener(t)
defer func() { defer func() {