Skip to content

Commit

Permalink
extra test
Browse files Browse the repository at this point in the history
  • Loading branch information
robdefeo committed Oct 21, 2019
1 parent 8f4fea7 commit 3b55777
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions internal/mail/message_test.go
Expand Up @@ -92,6 +92,13 @@ func Test_detectContentType(t *testing.T) {
},
"text/html; charset=\"UTF-8\"",
},
{
"plain-with-some-html",
args{
[]byte("Hi, this is plain text with example html included <h1>An example html tag</h1>"),
},
"text/plain; charset=\"UTF-8\"",
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
Expand Down

0 comments on commit 3b55777

Please sign in to comment.