Skip to content

Instantly share code, notes, and snippets.

@ihumanable
Created November 23, 2021 00:26
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/fca44d3d67c88356f626e3da07477f36 to your computer and use it in GitHub Desktop.
Save ihumanable/fca44d3d67c88356f626e3da07477f36 to your computer and use it in GitHub Desktop.
Ideal Invalid Message Test
test "errors on invalid messages" do
make_validate_message_return({:error, :bad})
assert {:error, :bad} == Discord.send_message(%Message{})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment