Skip to content

Instantly share code, notes, and snippets.

@ihumanable
Created November 23, 2021 00:32
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/587b596c499f3156ae38e1cd51c3669b to your computer and use it in GitHub Desktop.
Save ihumanable/587b596c499f3156ae38e1cd51c3669b to your computer and use it in GitHub Desktop.
Test Output (Mock 3)
~/src/discord > mix test
1) test send_message/1 errors on invalid messages (Discord.Test)
test/discord_test.exs:7
Assertion with == failed
code: assert {:error, :bad} == Discord.send_message(%Message{})
left: {:error, :bad}
right: :ok
stacktrace:
test/discord_test.exs:9: (test)
3 tests, 1 failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment