Created
November 23, 2021 00:28
-
-
Save ihumanable/92929b092fb8610da7a5a12f882d88f1 to your computer and use it in GitHub Desktop.
Test Output (Mock 1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/src/discord > mix test | |
1) test send_message/1 errors on invalid messages (Discord.Test) | |
test/discord_test.exs:7 | |
** (ErlangError) Erlang error: {:undefined_function, {Discord, :validate_message, 1}} | |
code: with_mock Discord, [validate_message: fn(_message) -> {:error, :bad} end] do | |
3 tests, 1 failure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment