mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 12:46:46 +00:00
chore: upgraded golangci-lint v1.52.2 and fixed all issues.
This commit is contained in:
@ -673,7 +673,7 @@ func TestParsePanic(t *testing.T) {
|
||||
require.Error(t, err)
|
||||
}
|
||||
|
||||
func TestParseTextPlainWithPdfttachmentCyrillic(t *testing.T) {
|
||||
func TestParseTextPlainWithPdfAttachmentCyrillic(t *testing.T) {
|
||||
f := getFileReader("text_plain_pdf_attachment_cyrillic.eml")
|
||||
|
||||
m, err := Parse(f)
|
||||
@ -718,6 +718,6 @@ func getFileReader(filename string) io.Reader {
|
||||
|
||||
type panicReader struct{}
|
||||
|
||||
func (panicReader) Read(p []byte) (int, error) {
|
||||
func (panicReader) Read(_ []byte) (int, error) {
|
||||
panic("lol")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user