Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Heckel committed Dec 28, 2021
1 parent 04719f8 commit a46a520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/smtp_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 = ""
Expand Down

0 comments on commit a46a520

Please sign in to comment.