mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-21 21:30:50 +01:00
Update Go version and clean up SMTP test suite
The Go version has been updated to 1.22 in the .golangci.toml file for compatibility reasons. Additionally, unnecessary white space has been removed from the smtp/smtp_test.go file to maximize code efficiency and readability.
This commit is contained in:
parent
a864be059c
commit
7a549242ae
2 changed files with 2 additions and 3 deletions
|
@ -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"]
|
||||
"errname", "errorlint", "gofmt", "gofumpt"]
|
||||
|
|
|
@ -1088,7 +1088,6 @@ Subject: SendMail test
|
|||
|
||||
SendMail is working for me.
|
||||
`, "\n", "\r\n", -1)))
|
||||
|
||||
if err != nil {
|
||||
t.Errorf("%v", err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue