Skip to content

Commit

Permalink
fumpt'ed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wneessen committed Oct 25, 2024
1 parent 64aeb68 commit 425a190
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eml_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,8 @@ func TestEMLToMsgFromReader(t *testing.T) {
}{
{
"RFC5322 A1.1 example mail", exampleMailRFC5322A11, EncodingUSASCII,
"Saying Hello"},
"Saying Hello",
},
{
"Plain text no encoding (7bit)", exampleMailPlain7Bit, EncodingUSASCII,
"Example mail // plain text without encoding",
Expand Down Expand Up @@ -1158,7 +1159,6 @@ func TestEMLToMsgFromFile(t *testing.T) {
t.Errorf("failed to parse EML string: want subject %s, got %s", "Saying Hello",
gotSubject[0])
}

})
t.Run("EMLToMsgFromFile fails on file not found", func(t *testing.T) {
if _, err := EMLToMsgFromFile("testdata/not-existing.eml"); err == nil {
Expand Down

0 comments on commit 425a190

Please sign in to comment.