Skip to content

Instantly share code, notes, and snippets.

@ihumanable
Created November 23, 2021 00:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ihumanable/7f75780df73b1c67449a9e7f5466623e to your computer and use it in GitHub Desktop.
Save ihumanable/7f75780df73b1c67449a9e7f5466623e to your computer and use it in GitHub Desktop.
Test Output (Mock 2)
~/src/discord > mix test
1) test send_message/1 errors on invalid messages (Discord.Test)
test/discord_test.exs:7
** (UndefinedFunctionError) function Discord.send_message/1 is undefined
(module Discord is not available)
code: assert {:error, :bad} == Discord.send_message(%Message{})
3 tests, 1 failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment