diff --git a/.golangci.toml b/.golangci.toml index ef4d48a..2501c6a 100644 --- a/.golangci.toml +++ b/.golangci.toml @@ -3,9 +3,9 @@ ## SPDX-License-Identifier: MIT [run] -go = "1.20" +go = "1.22" tests = true [linters] enable = ["stylecheck", "whitespace", "containedctx", "contextcheck", "decorder", - "errname", "errorlint", "gofmt", "gofumpt"] \ No newline at end of file + "errname", "errorlint", "gofmt", "gofumpt"] diff --git a/smtp/smtp_test.go b/smtp/smtp_test.go index 73f4fa5..c829e21 100644 --- a/smtp/smtp_test.go +++ b/smtp/smtp_test.go @@ -1088,7 +1088,6 @@ Subject: SendMail test SendMail is working for me. `, "\n", "\r\n", -1))) - if err != nil { t.Errorf("%v", err) }