mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-14 01:42:54 +01:00
Update auth_test.go to cover the new response
This commit is contained in:
parent
6a446bd4bd
commit
8f96251ebf
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ func TestAuth(t *testing.T) {
|
||||||
|
|
||||||
authTests := []authTest{
|
authTests := []authTest{
|
||||||
{LoginAuth("user", "pass", "testserver"),
|
{LoginAuth("user", "pass", "testserver"),
|
||||||
[]string{"Username:", "Password:", "Invalid:"}, "LOGIN",
|
[]string{"Username:", "Password:", "2.7.0 Authentication successful", "Invalid:"}, "LOGIN",
|
||||||
[]string{"", "user", "pass", ""}, []bool{false, false, true}},
|
[]string{"", "user", "pass", "", ""}, []bool{false, false, false, true}},
|
||||||
}
|
}
|
||||||
|
|
||||||
testLoop:
|
testLoop:
|
||||||
|
|
Loading…
Reference in a new issue