Skip to content

Instantly share code, notes, and snippets.

@fenollp
Created September 16, 2013 15:32
Show Gist options
  • Select an option

  • Save fenollp/6582234 to your computer and use it in GitHub Desktop.

Select an option

Save fenollp/6582234 to your computer and use it in GitHub Desktop.
-module(my_tests).
-include_lib("eunit/include/eunit.hrl").
e_test () ->
{setup, fun () -> ok end,
fun () -> ok end,
fun () -> {inorder, [
?_assertMatch(fail, hard) %% Does not fail!
]} end}.
@fenollp

fenollp commented Sep 16, 2013

Copy link
Copy Markdown
Author

FIXED

e_test_ () ->
{setup, fun () -> ok end,
        fun () -> ok end,
[
    ?assertMatch(fail, hard)
]}.

@fenollp

fenollp commented Sep 16, 2013

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment