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{ authTests := []authTest{
{LoginAuth("user", "pass", "testserver"), {
[]string{"Username:", "Password:", "2.7.0 Authentication successful", "Invalid:"}, "LOGIN", LoginAuth("user", "pass", "testserver"),
[]string{"", "user", "pass", "", ""}, []bool{false, false, false, true}}, []string{"Username:", "Password:", "2.7.0 Authentication successful", "Invalid:"},
"LOGIN",
[]string{"", "user", "pass", "", ""},
[]bool{false, false, false, true},
},
} }
testLoop: testLoop:

View file

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