mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-22 05:40:50 +01:00
Fumpt files to make golangci-lint happy
This commit is contained in:
parent
a0a7f74121
commit
476130d6e3
2 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue