Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kalys committed Mar 12, 2021
1 parent 4ad8d95 commit 014c63f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions test/lib/bamboo/adapters/ses_adapter_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,17 @@ defmodule Bamboo.SesAdapterTest do
email = EmailParser.parse(body)
assert EmailParser.to(email) == [~s("Alice Johnson" <[email protected]>)]
assert EmailParser.from(email) == ~s("Bob McBob" <[email protected]>)
assert EmailParser.cc(email) == [~s("=?utf-8?B?#{Base.encode64("John Müller")}?=" <[email protected]>)]
assert EmailParser.bcc(email) == [~s("=?utf-8?B?#{Base.encode64("Jane \"The Builder\" Doe")}?=" <[email protected]>)]
assert EmailParser.reply_to(email) == ~s("=?utf-8?B?#{Base.encode64("Chuck (?) Eager")}?=" <[email protected]>)

assert EmailParser.cc(email) == [
~s("=?utf-8?B?#{Base.encode64("John Müller")}?=" <[email protected]>)
]

assert EmailParser.bcc(email) == [
~s("=?utf-8?B?#{Base.encode64("Jane \"The Builder\" Doe")}?=" <[email protected]>)
]

assert EmailParser.reply_to(email) ==
~s("=?utf-8?B?#{Base.encode64("Chuck (?) Eager")}?=" <[email protected]>)

assert EmailParser.subject(email) ==
"Welcome to the app this is a longer subject"
Expand Down

0 comments on commit 014c63f

Please sign in to comment.