Make golangci-lint gofumpt happy

This commit is contained in:
Winni Neessen 2022-10-17 18:12:18 +02:00
parent 419469c297
commit 5bea905ff9
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D
2 changed files with 9 additions and 4 deletions

View file

@ -20,9 +20,13 @@ func TestAuth(t *testing.T) {
}
authTests := []authTest{
{LoginAuth("user", "pass", "testserver"),
[]string{"Username:", "Password:", "2.7.0 Authentication successful", "Invalid:"}, "LOGIN",
[]string{"", "user", "pass", "", ""}, []bool{false, false, false, true}},
{
LoginAuth("user", "pass", "testserver"),
[]string{"Username:", "Password:", "2.7.0 Authentication successful", "Invalid:"},
"LOGIN",
[]string{"", "user", "pass", "", ""},
[]bool{false, false, false, true},
},
}
testLoop:

View file

@ -9,12 +9,13 @@ import (
"crypto/tls"
"errors"
"fmt"
"github.com/wneessen/go-mail/auth"
"net"
"net/smtp"
"os"
"strings"
"time"
"github.com/wneessen/go-mail/auth"
)
// Defaults