Skip to content

Instantly share code, notes, and snippets.

@fenollp
Created September 16, 2013 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fenollp/6582234 to your computer and use it in GitHub Desktop.
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
Copy link
Author

fenollp commented Sep 16, 2013

FIXED

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

@fenollp
Copy link
Author

fenollp commented Sep 16, 2013

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