From a46a520bcaaaa0d4947e10cd5d12ef6ba96a78f9 Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Tue, 28 Dec 2021 01:48:58 +0100 Subject: [PATCH] Fix tests --- server/smtp_server_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/smtp_server_test.go b/server/smtp_server_test.go index ac63999..0ad1cf4 100644 --- a/server/smtp_server_test.go +++ b/server/smtp_server_test.go @@ -30,7 +30,7 @@ Content-Type: text/html; charset="UTF-8" _, backend := newTestBackend(t, func(m *message) error { require.Equal(t, "mytopic", m.Topic) require.Equal(t, "and one more", m.Title) - require.Equal(t, "what's up\n", m.Message) + require.Equal(t, "what's up", m.Message) return nil }) session, _ := backend.AnonymousLogin(nil) @@ -84,7 +84,7 @@ what's up conf, backend := newTestBackend(t, func(m *message) error { require.Equal(t, "mytopic", m.Topic) require.Equal(t, "and one more", m.Title) - require.Equal(t, "what's up\n", m.Message) + require.Equal(t, "what's up", m.Message) return nil }) conf.SMTPServerAddrPrefix = ""