Closed seriyps closed 3 years ago
send_it expects that try_smtp_sessions returns {ok, Sock}, but in "restart without TLS" scenario it would return just Sock.
send_it
try_smtp_sessions
{ok, Sock}
Sock
I'm quite surprized that Dialyzed did not complain.
This scenario have not been covered by tests, so, a new test was added.
So much for Dialyzer.... good catch!
send_it
expects thattry_smtp_sessions
returns{ok, Sock}
, but in "restart without TLS" scenario it would return justSock
.I'm quite surprized that Dialyzed did not complain.
This scenario have not been covered by tests, so, a new test was added.