How to assert Elixir doctest raises an error
Today I learned how to assert an Elixir doctest raises an error. Check this out:
The previous doctest will fail with this message:
TweetToday I learned how to assert an Elixir doctest raises an error. Check this out:
The previous doctest will fail with this message:
Tweet