mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-25 15:10:48 +01:00
Make golangci-lint gofumpt happy
This commit is contained in:
parent
419469c297
commit
5bea905ff9
2 changed files with 9 additions and 4 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue