1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-11-22 03:13:33 +01:00

Formatting

This commit is contained in:
binwiederhier 2023-05-09 20:57:09 -04:00
parent 53750e42c5
commit f4e6874ff0

View file

@ -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))