Formatting
This commit is contained in:
parent
53750e42c5
commit
f4e6874ff0
1 changed files with 1 additions and 2 deletions
|
@ -423,7 +423,6 @@ L0VOIj4KClRoaXMgaXMgYSB0ZXN0IG1lc3NhZ2UgZnJvbSBUcnVlTkFTIENPUkUuCg==
|
||||||
writeAndReadUntilLine(t, email, c, scanner, "250 2.0.0 OK: queued")
|
writeAndReadUntilLine(t, email, c, scanner, "250 2.0.0 OK: queued")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func TestSmtpBackend_MultipartQuotedPrintable(t *testing.T) {
|
func TestSmtpBackend_MultipartQuotedPrintable(t *testing.T) {
|
||||||
email := `EHLO example.com
|
email := `EHLO example.com
|
||||||
MAIL FROM: phil@example.com
|
MAIL FROM: phil@example.com
|
||||||
|
@ -457,7 +456,7 @@ up
|
||||||
s, c, _, scanner := newTestSMTPServer(t, func(w http.ResponseWriter, r *http.Request) {
|
s, c, _, scanner := newTestSMTPServer(t, func(w http.ResponseWriter, r *http.Request) {
|
||||||
require.Equal(t, "/mytopic", r.URL.Path)
|
require.Equal(t, "/mytopic", r.URL.Path)
|
||||||
require.Equal(t, "and one more", r.Header.Get("Title"))
|
require.Equal(t, "and one more", r.Header.Get("Title"))
|
||||||
require.Equal(t, `what's
|
require.Equal(t, `what's
|
||||||
à&é"'(-è_çà)
|
à&é"'(-è_çà)
|
||||||
=====
|
=====
|
||||||
up`, readAll(t, r.Body))
|
up`, readAll(t, r.Body))
|
||||||
|
|
Loading…
Reference in a new issue