From 39a9949e78bc1943d08217cc0cb9cdfbee1e6c7c Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Sat, 7 Jan 2023 11:48:59 +0100 Subject: [PATCH] Fix auth_test.go accordingly Removed "2.7.0 Authentication successful" challenge since this should never be sent with `more == true`. --- auth/auth_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/auth/auth_test.go b/auth/auth_test.go index 75875af..4df16ce 100644 --- a/auth/auth_test.go +++ b/auth/auth_test.go @@ -22,10 +22,10 @@ func TestAuth(t *testing.T) { authTests := []authTest{ { LoginAuth("user", "pass", "testserver"), - []string{"Username:", "Password:", "2.7.0 Authentication successful", "Invalid:"}, + []string{"Username:", "Password:", "Invalid:"}, "LOGIN", - []string{"", "user", "pass", "", ""}, - []bool{false, false, false, true}, + []string{"", "user", "pass", ""}, + []bool{false, false, true}, }, }