Skip to content

Commit 9f6724a

Browse files
Remove test that is no longer valid
put_part pattern matches on the struct.
1 parent f2d53dd commit 9f6724a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/mail/message_test.exs

-6
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ defmodule Mail.MessageTest do
1818
assert message.parts == []
1919
end
2020

21-
test "ensure only `Mail.Message` structs can be used" do
22-
assert_raise FunctionClauseError, fn ->
23-
Mail.Message.put_part(%Mail.Message{}, nil)
24-
end
25-
end
26-
2721
test "put_header" do
2822
message = Mail.Message.put_header(%Mail.Message{}, :test, "test content")
2923
assert Mail.Message.get_header(message, :test) == "test content"

0 commit comments

Comments
 (0)