diff --git a/auth/auth_test.go b/auth/auth_test.go index e1a57b2..75875af 100644 --- a/auth/auth_test.go +++ b/auth/auth_test.go @@ -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: diff --git a/client.go b/client.go index 9fb5301..ddc54f1 100644 --- a/client.go +++ b/client.go @@ -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