Skip to content

Instantly share code, notes, and snippets.

@DiscordBlog
Forked from ihumanable/test_output_mock_3.ex
Created December 2, 2021 23:42
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