eunit:test/2 return value

Leo Liu <[email protected]> Thu, 06 Aug 2015 08:19:02 +0800
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <[email protected]>
I have noticed the return value may be `error' instead of `{error,
Rsn}'. Is it a documentation error?

Here is an example:

-include_lib("eunit/include/eunit.hrl").

basic_test_() ->
    [?_assert(1 + 1 =:= 3)].

Leo
_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs