On Thu, 11 Aug 2016 23:10:00 -0700 (PDT), Wiebe-Marten Wijnja wrote:
> On Fri, 12 Aug 2016 02:16:52 UTC+2, Suraj N. Kurapati wrote:
> > Please provide a new refute_raise() assertion in ExUnit 
> 
> the convention in Elixir is usually to return `true` or `:ok`.
> These could than be asserted in the test, just like normal:
> 
>     assert MyModule.my_func(123) == :ok
>
> [it's] stronger than anything you could test using `refute_raise`.

Great idea! I'll follow this approach. :) Thanks for your feedback.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/20160813181524.3f0ed384%40yantram.
For more options, visit https://groups.google.com/d/optout.

Reply via email to